projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
9a893d5
)
Merge branch 'quick_tests'
author
Timothy Manning
<tfhmanning@gmail.com>
Fri, 26 Nov 2010 02:13:37 +0000
(15:13 +1300)
committer
Timothy Manning
<tfhmanning@gmail.com>
Fri, 26 Nov 2010 02:13:37 +0000
(15:13 +1300)
direct/yaffsfs.c
patch
|
blob
|
history
diff --git
a/direct/yaffsfs.c
b/direct/yaffsfs.c
index f6654cf8e79981bda0526ef43bbd88613a65f85d..c7937b075a04aa7f22410cef1139084446caf0bc 100644
(file)
--- a/
direct/yaffsfs.c
+++ b/
direct/yaffsfs.c
@@
-2009,6
+2009,7
@@
int yaffs_chmod(const YCHAR *path, mode_t mode)
yaffsfs_Lock();
obj = yaffsfs_FindObject(NULL,path,0,1, &dir, ¬Dir,&loop);
+ obj = yaffsfs_FollowLink(obj,0,&loop);
if(!dir && notDir)
yaffsfs_SetError(-ENOTDIR);