summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Prevent overflowing the buffer that stores the command arguments.mikeh2002-01-201-4/+8
| | | | | | PR: bin/19422 Not objected to by: -audit MFC after: 3 weeks
* Add missed includes.sobomax2002-01-153-0/+3
| | | | Reviewed by: md5
* The fix for >/dev/stdout, including Tor Egge's fix for the bug in thebabkin2002-01-131-4/+4
| | | | | | | | original attempt of the fix. And yes, this time I've tried to build world with it and it succeeded. Submitted by: Tor Egge MFC after: 1 week
* mdoc(7) police: tidy up.ru2002-01-091-54/+87
|
* Put the "mtxname" keyword in alphabetical order (t comes after s) sopeter2002-01-051-1/+1
| | | | that the keyword is recognized.
* Bruce thought some of the comments I added were not clear enough. This ismckay2002-01-011-8/+8
| | | | a combination of my words and his. We will stop fiddling now. :-)
* 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
* strtoq -> strtoll (strtoq is deprecated)ache2001-12-251-5/+5
|
* backout rev 1.14, it's breaking things.alfred2001-12-241-1/+3
|
* The previous fix caused cp to emit spurious warnings under somemckay2001-12-231-22/+26
| | | | | | | circumstances. This is a reworked version of the same fix, that does not have this defect, and which fixes some style bugs at the same time. Bug reported and fix reviewed by: bde
* Added ability to do ">/dev/stdout". The apsfilter people are anxiousbabkin2001-12-221-3/+1
| | | | | | to get it MFCed in time for release 4.5. MFC after: 2 weeks
* Make ``df -l'' work when no network filesystems are loaded.ru2001-12-191-2/+4
| | | | PR: bin/32397
* 1) Localize (LC_CTYPE)ache2001-12-171-0/+11
| | | | | 2) Catch "" to 0 conversion for OSes that not catch it in strto*() (f.e. -stable). It is needed because POSIX agrees with both variants.
* POSIX strto*() functions MAY return EINVAL, so don't assume that only oneache2001-12-141-2/+4
| | | | errno from them allowed and it is always ERANGE
* Add prototypes for main() so that these programs compile with -Werrorluigi2001-12-141-0/+1
| | | | | | | | | | | | (which somehow now seems to be the default for compiling -current). This error popped up while doing a PicoBSD cross-compile on a 4.3-ish system, it may well be that there are other apps which have similar problems, but I did not spot them as they are not included in my picobsd config. Whether adding prototypes for main() is the correct solution or not I have no idea, a request to -current on the matter went basically unanswered. Those who have better ideas are welcome to back this out and replace it with the correct fix.
* Do not dot terminate errx() stringscharnier2001-12-111-1/+1
|
* Preserve directory timestamps with -p. Allow non-empty read-onlymckay2001-12-111-11/+39
| | | | | | | | | | directories to be copied. Apply umask to newly created directories when -p is not specified. PR: 27970 PR: 31633 MFC after: 4 days
* Typo in warning message (chown should be chmod).mckay2001-12-111-1/+1
|
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* -lcipher is an installable library.ru2001-12-062-12/+2
|
* 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
* Spelling.ru2001-12-041-1/+1
|
* mdoc(7) police: s/LKM/KLD/, sort xrefs.ru2001-12-042-5/+9
|
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-0433-37/+12
| | | | | | set WARNS=0. Reviewed by: mike
* Move the code merging ACL_USER and ACL_GROUP objects from underjedgar2001-12-031-22/+33
| | | | | | two nested while loops into a separate function. Obtained from: TrustedBSD Project
* Add defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)jedgar2001-12-034-27/+31
| | | | | | to enhance readability. Obtained from: TrustedBSD Project
* style(9) cleanups mostly consisting of:jedgar2001-12-036-87/+85
| | | | | | | | | o explicitly check return values and variables against a value o return x; -> return (x); o fix inconsistent sysexits usage by nuking it (partially suggested by bde) Obtained from: TrustedBSD Project
* Correct example to remove *all* extended ACL entries andjedgar2001-12-031-3/+4
| | | | clarify description.
* Slight makefile style.markm2001-12-022-7/+7
| | | | Use __FBSDID().
* o Expand the explaination of the -b option WRT the resultingjedgar2001-12-021-3/+13
| | | | | | | | | group ACL entry in relation to the existing group and mask ACL entries. o Move the explanation of multiple ACL entries on the command line to the ACL ENTRIES section. Obtained from: TrustedBSD Project
* o Correct error message forgotten in the last commit (malloc() -> calloc())jedgar2001-12-021-3/+2
| | | | | | o Fix style nits Submitted by: bde
* Use calloc(3) instead of rolling our own.jedgar2001-12-021-2/+1
|
* Note that stty is a utility and not... err... a program....green2001-11-291-1/+1
| | | | Submitted by: ru
* Stty is a program, not a function.green2001-11-291-1/+1
|
* Add LOMAC options (the "Z" flag in both cases) to display extra informationgreen2001-11-2616-17/+429
| | | | | | in ls(1) and ps(1). Sponsored by: DARPA, NAI Labs
* Remove the printf builtin command from sh(1), which command is notknu2001-11-203-10/+5
| | | | | | | | | | | | used so often that it's worth keeping it as a builtin. Now that all the printf invocations from within the system startup scripts, we can safely remove it. Urged by: sheldonh :) No MFC is planned so far because it may break compatibility and violate POLA.
OpenPOWER on IntegriCloud