summaryrefslogtreecommitdiff
path: root/bin/ls/print.c
AgeCommit message (Collapse)Author
2005-06-15remove whiteout supportTodd C. Miller
2005-01-10Remove unneccesary cast to long long and %llu format; print using %lu.Otto Moerbeek
Spotted by tom@, ok millert@
2003-09-26free(NULL) is validTheo de Raadt
2003-09-24realloc fixes: unallocate for next use if realloc fixes; do not incr size;Theo de Raadt
do not p = realloc(p, ...; ok from ho, cloder
2003-08-06-h, human readable sizes. from a jonathon gray mail to tech@Ted Unangst
ok ian@ millert@
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-08-01utmp.h not neededTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2000-01-06In multi-column output, don't bother filling up last column before '\n'.Marc Espie
As a result, we gain one extra position to format multi-column output, since there is no added space at the end of the last column. For instance, 26 long filenames now print in 3 columns instead of 2. At first, both millert@ and I thought that ending the line on the last column might trigger trouble on some terminals, but then I realized that current ls may already fill the last column with a space, with no apparent grief anywhere, and Todd agreed.
2000-01-05Remove bogus chcnt assignments.Marc Espie
2000-01-05Perform colwidth computation sooner, as there's no need for randomMarc Espie
access if we end up doing one column output.
2000-01-05Factor column width computation out.Marc Espie
1999-05-01defer conversion of unprintable filenames till final display, permittingTheo de Raadt
badly named symbolic links to be handled; bug noted by dm@ fixed by d@
1999-02-20add -x, -p, and -m options, based on netbsd workTheo de Raadt
1998-08-15realloc bug fix and two other bugs found at the same timeTheo de Raadt
1998-05-18MAXPATHLEN not MAXPATHLEN+1Theo de Raadt
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-01-03From NetBSD:Todd C. Miller
- Correct sorting behaviour. - Do multicolumn output in a way that's a more likely to line up evenly. From D'Arcy J.M. Cain <darcy@druid.com>, NetBSD PR #2965.
1996-12-17Get TAB expansion rightThorsten Lockert
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-02extra utmp.h goes away; tom@haven.uniserve.com in freebsdTheo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt