summaryrefslogtreecommitdiffstats
path: root/bin/ls
Commit message (Collapse)AuthorAgeFilesLines
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structwollman2002-09-211-2/+2
| | | | | | | | | | | | | | | | hack, thereby allowing future extensions to the structure (e.g., for extended attributes) without rebreaking the ABI. FTSENT now contains a pointer to the parent stream, which fts_compar() can then take advantage of, avoiding the undefined behavior previously warned about. As a consequence of this change, the prototype of the comparison function passed to fts_open() has changed to reflect the required amount of constness for its use. All callers in the tree are updated to use the correct prototype. Comparison functions can now make use of the new parent pointer to access the new stream-specific private data pointer, which is intended to assist creation of reentrant library routines which use fts(3) internally. Not objected to in spirit by: -arch
* Fix a warning of "possibly used before initialisation".keramida2002-08-291-2/+1
| | | | Reviewed by: tjr
* Replace various spellings with FALLTHROUGH which is lint()ablecharnier2002-08-251-10/+10
|
* s/filesystem/file system/ as discussed on -developerstrhodes2002-08-211-1/+1
|
* mdoc(7) police: fixed the document date.ru2002-08-191-1/+1
| | | | Submitted by: iedowse
* Fix typos; each file has at least one s/seperat/separat/schweikh2002-08-111-1/+1
| | | | | | | | | | (I skipped those in contrib/, gnu/ and crypto/) While I was at it, fixed a lot more found by ispell that I could identify with certainty to be errors. All of these were in comments or text, not in actual code. Suggested by: bde MFC after: 3 days
* err() is documented as allowing NULL for the format string but GCC isn'tdillon2002-07-102-6/+6
| | | | happy about it any more so change the usage to make buildworld work again.
* Consistently use __FBSDIDobrien2002-06-304-16/+9
|
* Ignore empty COLUMNS environment variable. COLUMNS should take precedencetjr2002-06-041-5/+5
| | | | over TTY width found via ioctl() (SUSv3)
* mdoc(7) police: markup nits.ru2002-05-291-2/+3
|
* Add missing options required by SUSv3:tjr2002-05-195-16/+100
| | | | | | | | -m List files across the page, separated by commas. -p Print a slash after directory names -x Same as -C but sort across the columns rather than down Submitted by: Kyle Martin <mkm@ieee.org>
* Consistancy check s/file system/filesystem/trhodes2002-05-161-1/+1
| | | | Reviewed by: brian
* restore missing default case removed in ls.c:r1.57billf2002-05-152-0/+4
| | | | | | add break statements to default cases where missing. Submitted by: bde
* Make 'user' and 'group' const as to not discard the qualifier from thejmallett2002-05-151-1/+2
| | | | | functions we use to assign them. Doesn't seem to be anything else that relies on these being non-const.
* Remove an empty default case to make this syntactically correct. Not therejmallett2002-05-151-1/+0
| | | | is as good as blaknk.
* ls(1) is utility not functioncharnier2002-04-161-1/+1
|
* Document option to option dependancy. Fix typo.jwd2002-04-151-3/+7
| | | | MFC after: 1 week
* Install sys/security/lomac/*.h to /usr/include/security/lomac/.ru2002-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/. PR: docs/29534 Install sys/netatm/*/*.h to /usr/include/netatm/*/. Don't install compatibility symlinks for <machine/soundcard.h> and <machine/joystick.h>. Three years is enough to be aware of the change, and these weren't visible in the SHARED=symlinks case. Back out include/Makefile,v 1.160 that was a null change anyway due to the bug in the path, and we now don't want to install these headers because they would otherwise be invisible in the SHARED=symlinks case. Don't install IPFILTER headers. Userland utilities fetch them directly, and they were not visible in the SHARED=symlinks case. Resurrect SHARED=symlinks in Makefile.inc1. PR: bin/28002 Prodded by: bde MFC after: 2 weeks
* NAI DBA update.rwatson2002-03-142-2/+2
|
* Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit localesache2002-02-281-1/+1
| | | | PR: 35421
* #include <time.h> for the definition of time functions instead ofbde2002-02-251-2/+1
| | | | | | depending on namespace pollution 2 layers deep in <sys/stat.h>. Removed unused includes.
* Fixed divots that I created when I moved prototypes of group_from_gidimp2002-02-191-0/+2
| | | | | | | and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp
* Correct inadvertent style botches in previous commit.kris2002-02-041-2/+2
|
* Lock down with WFORMAT=1 except those directories with unfixed warnings.kris2002-02-041-0/+2
| | | | Tested on i386 and alpha.
* Use __FBSDID() and clean up the vendor tags.markm2002-02-035-21/+27
|
* WARNS=4 fixes, plus a healthy dose of fixes inspired by lint.markm2002-02-037-72/+84
|
* Fix unused variable.imp2002-02-021-0/+1
|
* o __P has been reovedimp2002-02-026-109/+71
| | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
* mdoc(7) police: tidy up.ru2002-01-091-54/+87
|
* Fixed style bug (unsorting of SRCS) in rev.1.15.bde2001-12-291-1/+1
|
* Fixed style bugs in revs. 1.6, 1.10 and 1.12.bde2001-12-291-3/+2
|
* Fixed missing DPADD and disordered LDADD in rev.1.17bde2001-12-291-1/+2
| | | | | | Fixed setting of WARNS in rev.1.16. Options should normally be set using using "?=", not using "=", so that the setting is easy to override on the command line, and setting WARNS to 0 should not be an exception.
* LSCOLOURS should be spelt LSCOLORS.joe2001-12-291-1/+1
| | | | Submitted by: Jordan DeLong <fracture@allusion.net
* Remove part of a diff committed at the end of the file.ben2001-12-291-20/+0
|
* Force raw printing of non-printable characters via the -w option.joe2001-12-292-3/+12
| | | | PR: bin/28007
* Restore these files to shiny KNF.joe2001-12-292-82/+88
|
* Convert some spaces into tabs that I missed first time around.joe2001-12-281-30/+30
|
* Revert most of rev 1.42, to restore KNF style.joe2001-12-281-49/+49
| | | | Requested by: bde
* Add a new flag, -h which when combined with the -l option causesjoe2001-12-286-5/+107
| | | | | | | | file sizes to be displayed with unit suffixes; Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to three or less. Submitted by: nik
* Make it clearer what changed to a user using the old format of LSCOLORS.joe2001-12-281-3/+3
|
* Mop up some warnings.joe2001-12-284-4/+5
|
* Make the style more consistent throughout the file.joe2001-12-281-58/+71
|
* Use the default colour instead if a bad colour specification is given.joe2001-12-281-1/+1
|
* Revamp the colour support to allow for bold characters. Coloursjoe2001-12-284-24/+70
| | | | | | | | are now defined using the characters a-h and A-H for the bold variants. The old way using 0-7 for the colours still works, but prints a message asking the user to switch. PR: bin/27374
* Make a bit more clear the types of characters that -B option willkeramida2001-12-061-1/+3
| | | | | | print in octal. Reviewed by: roam, silence on -doc
* mdoc(7) police: s/LKM/KLD/, sort xrefs.ru2001-12-041-3/+5
|
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-0/+1
| | | | | | set WARNS=0. Reviewed by: mike
* Add LOMAC options (the "Z" flag in both cases) to display extra informationgreen2001-11-268-13/+242
| | | | | | in ls(1) and ps(1). Sponsored by: DARPA, NAI Labs
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* Don't use the pronoun "you".dd2001-07-231-6/+7
| | | | Reviewed by: sheldonh, mpp
OpenPOWER on IntegriCloud