git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleaning up and Debugging (Exposed by AcessNative mostly)
[tpg/acess2.git]
/
Kernel
/
vfs
/
fs
/
root.c
diff --git
a/Kernel/vfs/fs/root.c
b/Kernel/vfs/fs/root.c
index
e9c9f09
..
4c3c6a2
100644
(file)
--- a/
Kernel/vfs/fs/root.c
+++ b/
Kernel/vfs/fs/root.c
@@
-155,7
+155,7
@@
char *Root_ReadDir(tVFS_Node *Node, int Pos)
for( ; child && Pos--; child = child->Next ) ;
- if(
Pos)
return strdup(child->Name);
+ if(
child)
return strdup(child->Name);
return NULL;
}
UCC
git Repository :: git.ucc.asn.au