summaryrefslogtreecommitdiff
path: root/bin/ls/ls.c
AgeCommit message (Collapse)Author
2006-04-13Change maxsize to type off_t.David Hill
Add a cast for portability's sake. "Right..." @deraadt
2005-11-30another unused variable found by lintTheo de Raadt
2005-11-29kill unused var found by lint. ok deraadt@Otto Moerbeek
2005-11-25do not exit from ls_main() but return; spotted by lintTheo de Raadt
2005-06-15remove whiteout supportTodd C. Miller
2005-03-10use fts_path if fts_name is not available, tweak and ok millertJared Yanovich
2004-04-02Unbreak alignment of fields when using -lh.Otto Moerbeek
ok deraadt@
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.
2003-04-02strlcpy; millert okTheo de Raadt
2002-03-12o Remove local prototypes for group_from_gid() and user_from_uid()Todd C. Miller
since they are prototyped in grp.h and pwd.h. o Increase size of 'buf' to 21 since we store the string representation of a u_quad_t in it (max 20 chars + the NUL). o Minor KNF wrt pointers in boolean context. From Denis Afonin
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.
2001-07-09-WallTheo de Raadt
2000-07-19new strtofflags/fflagstostrMichael Shalayeff
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-24save cpu cycles by being more sensible about how we check conditionalsAaron Campbell
1999-02-23Break out main to an own file so we can include ls in ftpd.Artur Grabowski
1999-02-20add -x, -p, and -m options, based on netbsd workTheo de Raadt
1998-08-07fix exit code; problem reported by jsh@sun470.rd.qms.com; fix from freebsdTheo de Raadt
1997-09-18make ls -d still sort files in the regular order; reported byTheo de Raadt
roberte@MEP.Ruhr-Uni-Bochum.de, fixed by sef@Kithrup.COM
1997-04-01option 'n' was unused, so let's come up with a feature to use it!!! YEAH!!Theo de Raadt
add -n (numeric uid/gid), fix some man page errors; tv@pobox.com
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-14-Wall'ing.Michael Shalayeff
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1996-02-17From netbsd:Niklas Hallqvist
Changed so that COLUMNS environment variable will override the value obtained via the TIOCGWINSIZ ioctl. This is required by POSIX.2, see section 4.39.5.3.
1995-10-18initial import of NetBSD treeTheo de Raadt