Turn a tab into a space. This fixes a misalignment for ls -l.
Tabs Noticed by: Antoine Brodin
This commit is contained in:
parent
8aa9e82e67
commit
2af52e0724
@ -168,7 +168,7 @@ printlong(const DISPLAY *dp)
|
||||
prevdev = sp->st_dev;
|
||||
}
|
||||
np = p->fts_pointer;
|
||||
(void)printf("%s %*u %-*s %-*s ", buf, dp->s_nlink,
|
||||
(void)printf("%s %*u %-*s %-*s ", buf, dp->s_nlink,
|
||||
sp->st_nlink, dp->s_user, np->user, dp->s_group,
|
||||
np->group);
|
||||
if (f_flags)
|
||||
@ -388,7 +388,7 @@ printtime(time_t ftime)
|
||||
format = d_first ? "%e %b %R" : "%b %e %R";
|
||||
else
|
||||
/* mmm dd yyyy || dd mmm yyyy */
|
||||
format = d_first ? "%e %b %Y" : "%b %e %Y";
|
||||
format = d_first ? "%e %b %Y" : "%b %e %Y";
|
||||
strftime(longstring, sizeof(longstring), format, localtime(&ftime));
|
||||
fputs(longstring, stdout);
|
||||
fputc(' ', stdout);
|
||||
|
Loading…
Reference in New Issue
Block a user