mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-13 14:40:22 +00:00
Undo over-aggressive conversion of spaces to tabs. ie: those within
format strings, "period, space, space" in comment text, etc.
This commit is contained in:
parent
39d9149396
commit
d272a5b786
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242840
@ -78,7 +78,7 @@ __FBSDID("$FreeBSD$");
|
||||
#define STRBUF_SIZEOF(t) (1 + CHAR_BIT * sizeof(t) / 3 + 1)
|
||||
|
||||
/*
|
||||
* MAKENINES(n) turns n into (10**n)-1. This is useful for converting a width
|
||||
* MAKENINES(n) turns n into (10**n)-1. This is useful for converting a width
|
||||
* into a number that wide in decimal.
|
||||
* XXX: Overflows are not considered.
|
||||
*/
|
||||
@ -241,7 +241,7 @@ main(int argc, char *argv[])
|
||||
f_timesort = 1;
|
||||
f_sizesort = 0;
|
||||
break;
|
||||
/* Other flags. Please keep alphabetic. */
|
||||
/* Other flags. Please keep alphabetic. */
|
||||
case ',':
|
||||
f_thousands = 1;
|
||||
break;
|
||||
@ -534,7 +534,7 @@ traverse(int argc, char *argv[], int options)
|
||||
|
||||
/*
|
||||
* If already output something, put out a newline as
|
||||
* a separator. If multiple arguments, precede each
|
||||
* a separator. If multiple arguments, precede each
|
||||
* directory with its name.
|
||||
*/
|
||||
if (output) {
|
||||
@ -874,7 +874,7 @@ display(const FTSENT *p, FTSENT *list, int options)
|
||||
/*
|
||||
* Ordering for mastercmp:
|
||||
* If ordering the argv (fts_level = FTS_ROOTLEVEL) return non-directories
|
||||
* as larger than directories. Within either group, use the sort function.
|
||||
* as larger than directories. Within either group, use the sort function.
|
||||
* All other levels use the sort function. Error entries remain unsorted.
|
||||
*/
|
||||
static int
|
||||
|
@ -160,7 +160,7 @@ printlong(const DISPLAY *dp)
|
||||
strmode(sp->st_mode, buf);
|
||||
aclmode(buf, p);
|
||||
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)
|
||||
@ -382,7 +382,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