[syslinux:pathbased] fs: searchdir: handle opening a directory
syslinux-bot for H. Peter Anvin
hpa at zytor.com
Wed Feb 24 21:30:03 PST 2010
Commit-ID: 4e7f791dd0c8429899047309f1a352a6ca055f3b
Gitweb: http://syslinux.zytor.com/commit/4e7f791dd0c8429899047309f1a352a6ca055f3b
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Wed, 24 Feb 2010 21:29:33 -0800
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Wed, 24 Feb 2010 21:29:33 -0800
fs: searchdir: handle opening a directory
Handle the case of opening a directory.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
core/fs/fs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/core/fs/fs.c b/core/fs/fs.c
index c24feed..fc7948d 100644
--- a/core/fs/fs.c
+++ b/core/fs/fs.c
@@ -214,6 +214,8 @@ int searchdir(const char *name)
}
do {
+ inode = get_inode(parent);
+
while (*p == '/')
p++;
More information about the Syslinux-commits
mailing list