Debian Codegraph @

debian/patches/modern_sort_args

raw
1 --- a/expire/makehistory.c
2 +++ b/expire/makehistory.c
3 @@ -775,7 +775,7 @@ main(ac, av)
4 (void)mktemp(temp);
5 i = 50 + strlen(TempTextFile ? TempTextFile : TextFile) + strlen(temp);
6 p = NEW(char, i);
7 - (void)sprintf(p, "exec sort %s -t'%c' +1n -o %s %s",
8 + (void)sprintf(p, "exec sort %s -t'%c' -k1 -n -o %s %s",
9 Tflag, HIS_FIELDSEP, temp, TempTextFile ? TempTextFile : TextFile);
10
11 i = system(p) >> 8;