summaryrefslogtreecommitdiff
path: root/libbb/wfopen_input.c
diff options
context:
space:
mode:
authorRob Landley2006-04-18 20:42:39 +0000
committerRob Landley2006-04-18 20:42:39 +0000
commitbbd50b58ea82ff64d7a522d6fa9a3c828ba47531 (patch)
treee9eec977d011d4677e8aea34887a03fd283b8779 /libbb/wfopen_input.c
parente4386342b4c670563aed7f16102fe077f25c6989 (diff)
downloadbusybox-bbd50b58ea82ff64d7a522d6fa9a3c828ba47531.zip
busybox-bbd50b58ea82ff64d7a522d6fa9a3c828ba47531.tar.gz
Remove some #if 0 code.
Diffstat (limited to 'libbb/wfopen_input.c')
-rw-r--r--libbb/wfopen_input.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libbb/wfopen_input.c b/libbb/wfopen_input.c
index bff6606..0068153 100644
--- 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");
}