testing
authorJohn Hodge <[email protected]>
Sun, 27 Sep 2009 10:42:24 +0000 (18:42 +0800)
committerJohn Hodge <[email protected]>
Sun, 27 Sep 2009 10:42:24 +0000 (18:42 +0800)
Kernel/vfs/open.c

index 4327a6c..25c1559 100644 (file)
@@ -103,8 +103,9 @@ char *VFS_GetAbsPath(char *Path)
                
                // Only copy if the positions differ
                if(read != write) {
-                       Log("write = %i, read = %i", write, read);
+                       Log("write = %i, read = %i, pos-read+1 = %i", write, read, pos-read+1);
                        memcpy( &ret[write], &ret[read], pos-read+1 );
+                       Log("ret = '%s'", ret);
                }
                
                if(slashNum < MAX_PATH_SLASHES)

UCC git Repository :: git.ucc.asn.au