projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f05aea
)
Remove unused -E_LSTAT.
author
Andre Noll
<maan@systemlinux.org>
Wed, 19 Sep 2007 21:12:52 +0000
(23:12 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 19 Sep 2007 21:12:52 +0000
(23:12 +0200)
error.h
patch
|
blob
|
history
osl.c
patch
|
blob
|
history
diff --git
a/error.h
b/error.h
index 7dafc606a0adf5725d9abbfce206696e7ff569cb..e9083f75f42eb743f5416faa4d30aea864a314dd 100644
(file)
--- a/
error.h
+++ b/
error.h
@@
-156,7
+156,6
@@
extern const char **para_errlist[];
PARA_ERROR(RBTREE_EMPTY, "rbtree is empty"), \
PARA_ERROR(BAD_ROW, "invalid row"), \
PARA_ERROR(OSL_GETCWD, "can not get current working directory"), \
- PARA_ERROR(OSL_LSTAT, "lstat error"), \
#define RBTREE_ERRORS \
diff --git
a/osl.c
b/osl.c
index 7f6ffdb9094a4b4deb12c49a876f6118a05473e5..fa37dea95ce42faec7131e0b371c837790361c3d 100644
(file)
--- a/
osl.c
+++ b/
osl.c
@@
-289,7
+289,6
@@
int for_each_file_in_dir(const char *dirname,
continue;
if (!strcmp(entry->d_name, ".."))
continue;
- ret = -E_OSL_LSTAT;
if (lstat(entry->d_name, &s) == -1)
continue;
m = s.st_mode;