projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
379119c
)
Remove duplicate code. Thanks Johann
author
charles
<charles>
Fri, 17 Nov 2006 01:43:48 +0000
(
01:43
+0000)
committer
charles
<charles>
Fri, 17 Nov 2006 01:43:48 +0000
(
01:43
+0000)
direct/yaffsfs.c
patch
|
blob
|
history
diff --git
a/direct/yaffsfs.c
b/direct/yaffsfs.c
index 9ad08958520cfd8a3bf5b73006d16a4fde9a3899..9ac4493d7cf842171753097bd9c2521defe2b4b2 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.1
4 2006-11-07 23:37:43
charles Exp $";
+const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.1
5 2006-11-17 01:43:48
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;
@@
-729,10
+729,6
@@
int yaffsfs_DoUnlink(const char *path,int isDirectory)
{
yaffsfs_SetError(-ENOTDIR);
}
{
yaffsfs_SetError(-ENOTDIR);
}
- else if(isDirectory && obj->variantType != YAFFS_OBJECT_TYPE_DIRECTORY)
- {
- yaffsfs_SetError(-ENOTDIR);
- }
else
{
result = yaffs_Unlink(dir,name);
else
{
result = yaffs_Unlink(dir,name);