mirror of
https://github.com/sheumann/hush.git
synced 2024-12-27 01:32:08 +00:00
Remove some #if 0 code.
This commit is contained in:
parent
e4386342b4
commit
bbd50b58ea
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user