projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
143c5ba
)
ls: fix one-bit-off which caused -H to behave as -h
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 27 Feb 2011 03:10:00 +0000
(
04:10
+0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 27 Feb 2011 03:10:00 +0000
(
04:10
+0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/ls.c
patch
|
blob
|
history
diff --git
a/coreutils/ls.c
b/coreutils/ls.c
index 2be3afadf55ea4dab2ef77f8f674c3327f100bc3..2242fbaac055908a8c2377808993c6878b6430d4 100644
(file)
--- 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,