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

index c178bb6..e7f692c 100644 (file)
@@ -102,7 +102,7 @@ char *VFS_GetAbsPath(char *Path)
                        Log("write = %i, read = %i", write, read);
                        memcpy( &ret[write], &ret[read], pos-read );
                }
-               write += (pos-read)+1;
+               write += (pos-read);
                
                if(slashNum < MAX_PATH_SLASHES)
                        slashOffsets[ slashNum++ ] = write;

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