From 5639e1e04772db96a7772ec8ba4facf5bf5e6d40 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Thu, 30 Jun 2011 20:20:27 +0000 Subject: removed preparations for frames. (will be handled within the core) svn path=/trunk/netsurf/; revision=12550 --- atari/osspec.c | 44 -------------------------------------------- 1 file changed, 44 deletions(-) (limited to 'atari/osspec.c') diff --git a/atari/osspec.c b/atari/osspec.c index bbceec144..a82589daa 100644 --- a/atari/osspec.c +++ b/atari/osspec.c @@ -189,47 +189,3 @@ char * gemdos_realpath(const char * path, char * rpath) return( rpath ); } -char * gemdos_realpathX(const char * path, char * rpath) -{ - size_t l; - size_t i; - char old = '/'; - char fsep = 0x5C; - if( rpath == NULL ){ - return( NULL ); - } - if( sys_type() & SYS_MINT ){ - return( realpath(path, rpath) ); - } - - if( path[0] != '/' && path[0] != 0x5c && path[1] != ':') { - /* it is not an absolute path */ - char cwd[PATH_MAX]; - getcwd((char*)&cwd, PATH_MAX); - //fix_path((char*)&cwd); - strcpy(rpath, (char*)&cwd); - l = strlen(rpath); - /* append path seperator if needed: */ - if(rpath[l-1] != 0x5C && rpath[l-1] != '/') { - rpath[l] = fsep; - rpath[l+1] = 0; - } - /* check if path is starting with: ./ */ - if( (path[1] == '/' || path[1] == 0x5C ) ) { - strcat(rpath, &path[2]); - } else { - /* otherwise just append it */ - strcat(rpath, path); - } - } else { - strcpy(rpath, path); - } - /* convert path seperator to configured value: */ - l = strlen(rpath); - for( i = 0; i