aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/ls.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index f4f2724c5..a461b154f 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -40,6 +40,21 @@
40/* This is a NOEXEC applet. Be very careful! */ 40/* This is a NOEXEC applet. Be very careful! */
41 41
42 42
43#if ENABLE_FTPD
44/* ftpd uses ls, and without timestamps Mozilla won't understand
45 * ftpd's LIST output.
46 */
47# undef CONFIG_FEATURE_LS_TIMESTAMPS
48# undef ENABLE_FEATURE_LS_TIMESTAMPS
49# undef USE_FEATURE_LS_TIMESTAMPS
50# undef SKIP_FEATURE_LS_TIMESTAMPS
51# define CONFIG_FEATURE_LS_TIMESTAMPS 1
52# define ENABLE_FEATURE_LS_TIMESTAMPS 1
53# define USE_FEATURE_LS_TIMESTAMPS(...) __VA_ARGS__
54# define SKIP_FEATURE_LS_TIMESTAMPS(...)
55#endif
56
57
43enum { 58enum {
44 59
45TERMINAL_WIDTH = 80, /* use 79 if terminal has linefold bug */ 60TERMINAL_WIDTH = 80, /* use 79 if terminal has linefold bug */