← Commit list

fc4a0fd82

Eric Andersen
Eric Andersen
2003-01-14
SOURCE BUG Duration: 2s

Subject

last_patch75_2 from vodz,

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Debian 14.2.0-19) 14.2.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/ls.c+4 -2
@@ -837,6 +837,7 @@ extern int ls_main(int argc, char **argv)
switch (opt) {
case '1':
style_fmt = STYLE_SINGLE;
+ list_fmt = LIST_SHORT;
break;
case 'A':
disp_opts |= DISP_HIDDEN;
@@ -846,6 +847,7 @@ extern int ls_main(int argc, char **argv)
break;
case 'C':
style_fmt = STYLE_COLUMNS;
+ list_fmt = LIST_SHORT;
break;
case 'd':
disp_opts |= DISP_NOLIST;
@@ -956,8 +958,8 @@ extern int ls_main(int argc, char **argv)
if (time_fmt & TIME_ACCESS)
sort_opts = SORT_ATIME;
#endif
- if (style_fmt != STYLE_LONG)
- list_fmt &= ~LIST_ID_NUMERIC; /* numeric uid only for long list */
+ if (style_fmt != STYLE_LONG) /* only for long list */
+ list_fmt &= ~(LIST_ID_NUMERIC|LIST_FULLTIME|LIST_ID_NAME|LIST_ID_NUMERIC);
#ifdef CONFIG_FEATURE_LS_USERNAME
if (style_fmt == STYLE_LONG && (list_fmt & LIST_ID_NUMERIC))
list_fmt &= ~LIST_ID_NAME; /* don't list names if numeric uid */