aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /coreutils/ls.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 920fad85e..2b2925557 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -120,7 +120,7 @@ SPLIT_SUBDIR = 2,
120static smallint show_color; 120static smallint show_color;
121/* long option entry used only for --color, which has no short option 121/* long option entry used only for --color, which has no short option
122 * equivalent */ 122 * equivalent */
123static const char ls_color_opt[] = 123static const char ls_color_opt[] ALIGN1 =
124 "color\0" Optional_argument "\xff" /* no short equivalent */ 124 "color\0" Optional_argument "\xff" /* no short equivalent */
125 ; 125 ;
126#else 126#else
@@ -710,7 +710,8 @@ static int list_single(struct dnode *dn)
710/* "[-]SXvThw", GNU options, busybox optionally supports */ 710/* "[-]SXvThw", GNU options, busybox optionally supports */
711/* "[-]K", SELinux mandated options, busybox optionally supports */ 711/* "[-]K", SELinux mandated options, busybox optionally supports */
712/* "[-]e", I think we made this one up */ 712/* "[-]e", I think we made this one up */
713static const char ls_options[] = "Cadil1gnsxAk" 713static const char ls_options[] ALIGN1 =
714 "Cadil1gnsxAk"
714 USE_FEATURE_LS_TIMESTAMPS("cetu") 715 USE_FEATURE_LS_TIMESTAMPS("cetu")
715 USE_FEATURE_LS_SORTFILES("SXrv") 716 USE_FEATURE_LS_SORTFILES("SXrv")
716 USE_FEATURE_LS_FILETYPES("Fp") 717 USE_FEATURE_LS_FILETYPES("Fp")