svn commit: [25594] trunk/busybox/coreutils
vda at busybox.net
vda at busybox.net
Mon Mar 9 22:37:24 UTC 2009
Author: vda
Date: 2009-03-09 22:37:23 +0000 (Mon, 09 Mar 2009)
New Revision: 25594
Log:
ftpd + ls - timestamp = confused Mozilla. Prevent that.
Modified:
trunk/busybox/coreutils/ls.c
Changeset:
Modified: trunk/busybox/coreutils/ls.c
===================================================================
--- trunk/busybox/coreutils/ls.c 2009-03-09 20:28:40 UTC (rev 25593)
+++ trunk/busybox/coreutils/ls.c 2009-03-09 22:37:23 UTC (rev 25594)
@@ -40,6 +40,21 @@
/* This is a NOEXEC applet. Be very careful! */
+#if ENABLE_FTPD
+/* ftpd uses ls, and without timestamps Mozilla won't understand
+ * ftpd's LIST output.
+ */
+# undef CONFIG_FEATURE_LS_TIMESTAMPS
+# undef ENABLE_FEATURE_LS_TIMESTAMPS
+# undef USE_FEATURE_LS_TIMESTAMPS
+# undef SKIP_FEATURE_LS_TIMESTAMPS
+# define CONFIG_FEATURE_LS_TIMESTAMPS 1
+# define ENABLE_FEATURE_LS_TIMESTAMPS 1
+# define USE_FEATURE_LS_TIMESTAMPS(...) __VA_ARGS__
+# define SKIP_FEATURE_LS_TIMESTAMPS(...)
+#endif
+
+
enum {
TERMINAL_WIDTH = 80, /* use 79 if terminal has linefold bug */
More information about the busybox-cvs
mailing list