projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e438634
)
Remove some #if 0 code.
author
Rob Landley
<rob@landley.net>
Tue, 18 Apr 2006 20:42:39 +0000
(20:42 -0000)
committer
Rob Landley
<rob@landley.net>
Tue, 18 Apr 2006 20:42:39 +0000
(20:42 -0000)
libbb/wfopen_input.c
patch
|
blob
|
history
diff --git
a/libbb/wfopen_input.c
b/libbb/wfopen_input.c
index bff6606b5db3d32f010872acbd72604cc22cf95e..006815300a3aa2f4213e6964057f7b8e0b67a2c4 100644
(file)
--- a/
libbb/wfopen_input.c
+++ b/
libbb/wfopen_input.c
@@
-38,15
+38,6
@@
FILE *bb_wfopen_input(const char *filename)
if ((filename != bb_msg_standard_input)
&& filename[0] && ((filename[0] != '-') || filename[1])
) {
-#if 0
- /* This check shouldn't be necessary for linux, but is left
- * here disabled just in case. */
- struct stat stat_buf;
- if (is_directory(filename, 1, &stat_buf)) {
- bb_error_msg("%s: Is a directory", filename);
- return NULL;
- }
-#endif
fp = bb_wfopen(filename, "r");
}