svn commit: trunk/busybox/libbb

landley at busybox.net landley at busybox.net
Tue Apr 18 20:42:39 UTC 2006


Author: landley
Date: 2006-04-18 13:42:39 -0700 (Tue, 18 Apr 2006)
New Revision: 14916

Log:
Remove some #if 0 code.


Modified:
   trunk/busybox/libbb/wfopen_input.c


Changeset:
Modified: trunk/busybox/libbb/wfopen_input.c
===================================================================
--- trunk/busybox/libbb/wfopen_input.c	2006-04-18 20:41:51 UTC (rev 14915)
+++ trunk/busybox/libbb/wfopen_input.c	2006-04-18 20:42:39 UTC (rev 14916)
@@ -38,15 +38,6 @@
 	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");
 	}
 




More information about the busybox-cvs mailing list