summaryrefslogtreecommitdiffstats
path: root/bin/ls/ls.c
AgeCommit message (Expand)AuthorFilesLines
2018-09-13Fix warnings caused by user_from_uid() and group_from_gid() nowmillert1-2/+3
2018-02-04use sizeof, rather than the constant. on change in binary.deraadt1-3/+3
2018-02-04repair ugly indentsderaadt1-3/+3
2016-08-16Nuke some erroneous leading whitespace.krw1-2/+2
2016-08-16Bring types of variables used with struct stat into the modern world.krw1-6/+9
2016-03-28remove unused variablechl1-2/+2
2016-03-17Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.bentley1-15/+11
2015-12-01Support UTF-8: use wcwidth(3) for column adjustment and replaceschwarze1-3/+9
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-3/+3
2015-10-04ls can use tame "stdio rpath getpw". It does uid/gid lookups, usingderaadt1-1/+4
2015-06-25Put fts_close() where missing.uebayasi1-1/+3
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failurederaadt1-6/+12
2014-03-31restore the traditional behavior of -f implying -a; apparently Keith Bosticsobrado1-4/+4
2013-05-30Fix column padding of inode numbers and block counts >2^32, as well asguenther1-4/+7
2011-03-04add support for the (POSIX) -H flagokan1-2/+5
2010-09-12remove trailing spaces and tabs from source code; no binary change.sobrado1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2009-05-06do not ignore COLUMNS in -C mode, even if !isatty(STDOUT_FILENO)todd1-3/+7
2008-12-30add a comment explaining the rather obscure decision when to recurseotto1-2/+6
2008-12-29fix previous; e.g. ls /var/spool/mqueue as an oridinary user. okotto1-4/+5
2008-12-24Kill a race condition which occurs when listing a directory containingotto1-3/+3
2008-09-04- make -ln and -nl combinations behave identically. currently -l overrides -n.jmc1-11/+12
2007-05-07Change the -g flag from a no-op to be POSIX conforming. We allow themillert1-4/+18
2006-04-13Change maxsize to type off_t.dhill1-4/+5
2005-11-30another unused variable found by lintderaadt1-3/+2
2005-11-29kill unused var found by lint. ok deraadt@otto1-3/+2
2005-11-25do not exit from ls_main() but return; spotted by lintderaadt1-3/+3
2005-06-15remove whiteout supportmillert1-15/+3
2005-03-10use fts_path if fts_name is not available, tweak and ok millertjaredy1-3/+4
2004-04-02Unbreak alignment of fields when using -lh.otto1-4/+8
2003-08-06-h, human readable sizes. from a jonathon gray mail to tech@tedu1-3/+7
2003-06-11ansification, art okderaadt1-12/+6
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2003-04-02strlcpy; millert okderaadt1-7/+7
2002-03-12o Remove local prototypes for group_from_gid() and user_from_uid()millert1-8/+7
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-9/+9
2001-07-09-Wallderaadt1-3/+4
2000-07-19new strtofflags/fflagstostrmickey1-4/+7
1999-05-01defer conversion of unprintable filenames till final display, permittingderaadt1-4/+2
1999-02-24save cpu cycles by being more sensible about how we check conditionalsaaron1-13/+13
1999-02-23Break out main to an own file so we can include ls in ftpd.art1-3/+3
1999-02-20add -x, -p, and -m options, based on netbsd workderaadt1-10/+29
1998-08-07fix exit code; problem reported by jsh@sun470.rd.qms.com; fix from freebsdderaadt1-3/+7
1997-09-18make ls -d still sort files in the regular order; reported byderaadt1-11/+7
1997-04-01option 'n' was unused, so let's come up with a feature to use it!!! YEAH!!deraadt1-5/+20
1997-01-03From NetBSD:millert1-13/+15
1996-12-14-Wall'ing.mickey1-2/+6
1996-08-02zap getopt() case of -?, come on, it is the default!deraadt1-3/+2
1996-06-23update rcsidderaadt1-1/+2
1996-02-17From netbsd:niklas1-8/+6