projects
/
yaffs
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dd2f592
)
*** empty log message ***
author
charles
<charles>
Sun, 21 Nov 2004 23:33:30 +0000
(23:33 +0000)
committer
charles
<charles>
Sun, 21 Nov 2004 23:33:30 +0000
(23:33 +0000)
direct/yaffsfs.c
patch
|
blob
|
history
diff --git
a/direct/yaffsfs.c
b/direct/yaffsfs.c
index 207c06930f24226bbb99e925b72919849ea1e58d..ec7ccf5c8b3ef2325bf30d24e4b4ebd72b520402 100644
(file)
--- a/
direct/yaffsfs.c
+++ b/
direct/yaffsfs.c
@@
-25,7
+25,7
@@
#endif
#endif
-const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.
6 2003-03-11 09:54:4
0 charles Exp $";
+const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.
7 2004-11-21 23:33:3
0 charles Exp $";
// configurationList is the list of devices that are supported
static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
// configurationList is the list of devices that are supported
static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
@@
-180,7
+180,7
@@
static yaffs_Device *yaffsfs_FindDevice(const char *path, char **restOfPath)
p++;
leftOver++;
}
p++;
leftOver++;
}
- if(!*p)
+ if(!*p
&& (!*leftOver || *leftOver == '/')
)
{
// Matched prefix
*restOfPath = (char *)leftOver;
{
// Matched prefix
*restOfPath = (char *)leftOver;