[git commit master 1/1] ls: fix one-bit-off which caused -H to behave as -h
Denys Vlasenko
vda.linux at googlemail.com
Sun Feb 27 03:10:00 UTC 2011
commit: http://git.busybox.net/busybox/commit/?id=cd387f2554c62c7716970e90af54b8bde6c86c86
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
coreutils/ls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 2be3afa..2242fba 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -234,7 +234,7 @@ enum {
OPTBIT_Z, /* 25 */
OPTBIT_L = OPTBIT_K + 2 * ENABLE_SELINUX,
OPTBIT_H, /* 27 */
- OPTBIT_h = OPTBIT_L + 1 * ENABLE_FEATURE_LS_FOLLOWLINKS,
+ OPTBIT_h = OPTBIT_L + 2 * ENABLE_FEATURE_LS_FOLLOWLINKS,
OPTBIT_T = OPTBIT_h + 2 * ENABLE_FEATURE_HUMAN_READABLE,
OPTBIT_w, /* 30 */
OPTBIT_color = OPTBIT_T + 2 * ENABLE_FEATURE_AUTOWIDTH,
--
1.7.3.4
More information about the busybox-cvs
mailing list