diff options
| author | Rob Landley <rob@landley.net> | 2006-04-18 20:42:39 +0000 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2006-04-18 20:42:39 +0000 |
| commit | bbd50b58ea82ff64d7a522d6fa9a3c828ba47531 (patch) | |
| tree | e9eec977d011d4677e8aea34887a03fd283b8779 /libbb | |
| parent | e4386342b4c670563aed7f16102fe077f25c6989 (diff) | |
| download | busybox-w32-bbd50b58ea82ff64d7a522d6fa9a3c828ba47531.tar.gz busybox-w32-bbd50b58ea82ff64d7a522d6fa9a3c828ba47531.tar.bz2 busybox-w32-bbd50b58ea82ff64d7a522d6fa9a3c828ba47531.zip | |
Remove some #if 0 code.
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/wfopen_input.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libbb/wfopen_input.c b/libbb/wfopen_input.c index bff6606b5..006815300 100644 --- a/libbb/wfopen_input.c +++ b/libbb/wfopen_input.c | |||
| @@ -38,15 +38,6 @@ FILE *bb_wfopen_input(const char *filename) | |||
| 38 | if ((filename != bb_msg_standard_input) | 38 | if ((filename != bb_msg_standard_input) |
| 39 | && filename[0] && ((filename[0] != '-') || filename[1]) | 39 | && filename[0] && ((filename[0] != '-') || filename[1]) |
| 40 | ) { | 40 | ) { |
| 41 | #if 0 | ||
| 42 | /* This check shouldn't be necessary for linux, but is left | ||
| 43 | * here disabled just in case. */ | ||
| 44 | struct stat stat_buf; | ||
| 45 | if (is_directory(filename, 1, &stat_buf)) { | ||
| 46 | bb_error_msg("%s: Is a directory", filename); | ||
| 47 | return NULL; | ||
| 48 | } | ||
| 49 | #endif | ||
| 50 | fp = bb_wfopen(filename, "r"); | 41 | fp = bb_wfopen(filename, "r"); |
| 51 | } | 42 | } |
| 52 | 43 | ||
