aboutsummaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove collate_range_cmp() stabilization, it conflicts with rangesAndrey A. Chernov2003-08-031-9/+2
| | | | Notes: svn path=/head/; revision=118374
* Don't check for the existance of src/crypto/ for building items thatMark Murray2003-07-241-1/+1
| | | | | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient. Notes: svn path=/head/; revision=117978
* This code isn't WARNS=6 clean in the standard (crypto) caseRuslan Ermilov2003-07-201-0/+1
| | | | | | | | due to bugs in OpenSSL headers. I was testing in the wrong environmement: standalone build without crypto/ sources. Notes: svn path=/head/; revision=117805
* Make this code WARNS=6 clean again (after GCC 3.1.1 import).Ruslan Ermilov2003-07-202-14/+13
| | | | | | | Submitted by: Marius Strobl <marius@alchemy.franken.de> Notes: svn path=/head/; revision=117803
* When reporting an error internalizing an ACL string, print out theRobert Watson2003-07-181-2/+2
| | | | | | | | | | | ACL that generated the error, rather than the function, which is more user-friendly. Obtained from: TrustedBSD Project Product of: France Notes: svn path=/head/; revision=117734
* Temporarily turn off -Werror for these components.Alexander Kabaev2003-07-111-1/+1
| | | | Notes: svn path=/head/; revision=117423
* -l prints all permissions, not just owner and groupChristian Brueffer2003-07-101-1/+1
| | | | | | | | | PR: 54294 Submitted by: Per Hedeland <per@hedeland.org> MFC after: 3 days Notes: svn path=/head/; revision=117389
* Remove MAINTAINER= lines from individual Makefiles in favor of theGregory Neil Shapiro2003-07-071-2/+0
| | | | | | | MAINTAINER file (which already had entries for sendmail). Notes: svn path=/head/; revision=117299
* Changes following CScout analysis:Diomidis Spinellis2003-07-0513-38/+37
| | | | | | | | | | | | | | - Removed dead declarations - Made objects that should have been declared as static, static. The changes use STATIC instead of static, following the existing convention in the rest of the code. Approved by: schweikh (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=117261
* Rename a local variable in order to avoid collision with standard 'log'Alexander Kabaev2003-06-301-3/+3
| | | | | | | function. Notes: svn path=/head/; revision=117078
* pass -1 to setfile in cp.cJohn-Mark Gurney2003-06-301-1/+1
| | | | | | | Submitted by: Jun Kuriyama Notes: svn path=/head/; revision=117065
* Tweak a couple of utilities so they compile cleanly for /rescue. MostlyGordon Tetlow2003-06-291-0/+4
| | | | | | | | | path fixes. Submitted by: Tim Kientzle <kientzle@acm.org> Notes: svn path=/head/; revision=117036
* Unbreak NOCRYPT buildworld.Ruslan Ermilov2003-06-291-1/+1
| | | | | | | Reviewed by: markm Notes: svn path=/head/; revision=117023
* support saving both user/group and permissions on symlinks (from PR)John-Mark Gurney2003-06-221-13/+20
| | | | | | | | | | | also fix a slight bogon that assumed an fd of 0 was not valid. Changed it to be -1. PR: bin/25017 Submitted by: Martin Kammerhofer Notes: svn path=/head/; revision=116673
* Get this area compiling with the highest WARNS= that it works with.Mark Murray2003-06-1311-18/+7
| | | | | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 Notes: svn path=/head/; revision=116282
* Add the -H option to ps(1) to display all kernel visible threads in eachScott Long2003-06-122-6/+19
| | | | | | | | process. The default behavior of showing only the process is retained as the default. Notes: svn path=/head/; revision=116265
* add section name to .XrPhilippe Charnier2003-06-081-1/+1
| | | | Notes: svn path=/head/; revision=116019
* Fix for the NO_OPENSSL case.Mark Murray2003-06-081-1/+1
| | | | | | | Reported by: Marius Strobl <marius@alchemy.franken.de> Notes: svn path=/head/; revision=116015
* Clarify what -p option does.Ruslan Ermilov2003-06-071-11/+12
| | | | | | | | | Prodded by: marcel While here, spell the "set-{user,group}-ID bit" correctly. Notes: svn path=/head/; revision=115938
* UseJun Kuriyama2003-06-061-1/+1
| | | | | | | | | | | | cat ${.ALLSRC} > ${.TARGET} rather than ln -sf ${.ALLSRC} ${.TARGET} not to depends on absolute-path of symbolic links. Commented by: marcel, obrien, bde Notes: svn path=/head/; revision=115898
* Make ed compile in the NOCRYPT case.John Hay2003-06-031-0/+4
| | | | | | | Reviewed by: markm Notes: svn path=/head/; revision=115777
* Catch up with revs 1.49-1.50 of df.c: don't mention -t in the BUGS sectionBruce Evans2003-06-031-3/+1
| | | | | | | since it has been fixed. Notes: svn path=/head/; revision=115770
* Fixed exit code in previous commit. "var++" to set a flag to nonzeroBruce Evans2003-06-031-5/+9
| | | | | | | | | | | | | | | | | | | is a style bug at best. When the variable isn't a flag, it potentially overflows after a large number of settings. Here the number of settings is limited by ARG_MAX, but the variable is the exit code so it became bogus after the second setting and effectively overflowed to 0 after approx. 128 settings. Fixed some style bugs involving comments in and near previous commit. Clarification of previous commit message: df -t didn't give undefined behaviour, and the behaviour used to conform perfectly with the man page, since the buggy behaviour is documented in the BUGS section. -t just worked when no files or file systems were specified, and was just ignored if a file or file system was specified. Notes: svn path=/head/; revision=115769
* From the df man page:Jordan K. Hubbard2003-06-021-0/+9
| | | | | | | | | | | | | -t Only print out statistics for filesystems of the specified types. Make the behavior of df(1) conform to its man page (behavior is otherwise undefined). Submitted by: Rob Braun <bbraun@apple.com> Obtained from: Apple Notes: svn path=/head/; revision=115744
* Modernise. Use libcrypto for DES instead of libcipher.Mark Murray2003-06-023-52/+51
| | | | Notes: svn path=/head/; revision=115717
* Instead of eating trailing newlines after inserting them into theBill Fenner2003-05-311-5/+12
| | | | | | | | | | | | | | | | output buffer, don't insert them at all. This prevents a buffer *underrun* when the substitution consists completely of newlines (e.g. `echo`) and the byte before the source buffer to which p points is a '\n', in which case more characters would be removed from the output buffer than were inserted. This fixes certain port builds on sparc64. Approved by: re (scottl) Reviewed by: des, tjr Notes: svn path=/head/; revision=115424
* Erase whitspace at EOL.Ruslan Ermilov2003-05-221-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115226
* Retire the useless NOSECURE knob.Dag-Erling Smørgrav2003-05-191-1/+1
| | | | | | | Approved by: re (scottl) Notes: svn path=/head/; revision=115157
* mdoc(7) police: A better version of the same.Ruslan Ermilov2003-05-162-3/+3
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115082
* mdoc(7) police: Fix document date.Ruslan Ermilov2003-05-161-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115081
* Note that -n and \c are implementation-defined as per TC1 to POSIX 2001.Jens Schweikhardt2003-05-081-2/+11
| | | | | | | | Approved by: re@ (bmah) MFC after: 3 days Notes: svn path=/head/; revision=114845
* df(1) and ls(1) print units in 'four or fewer' not 'three or less'.Tom Rhodes2003-05-062-3/+3
| | | | | | | | PR: 35523 Submitted by: Tomas Svensson <tsn@gbdev.net> Notes: svn path=/head/; revision=114791
* Centralize _PATH_* definitions.David E. O'Brien2003-05-053-40/+2
| | | | | | | Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me) Notes: svn path=/head/; revision=114763
* Fix long constant usage for i386.Mark Murray2003-05-031-1/+1
| | | | | | | Tested by: Joe Marcus Clarke <marcus@marcuscom.com> Notes: svn path=/head/; revision=114600
* Fix a broken reference to locale(5) and point to re_format(7) too for anGiorgos Keramidas2003-05-031-2/+3
| | | | | | | explanation of `collating elements'. Notes: svn path=/head/; revision=114598
* Fix a bazillion warnings. This makes almost the whole of src/bin/*Mark Murray2003-05-0317-148/+161
| | | | | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha Notes: svn path=/head/; revision=114583
* WARNS cleaning for the Alpha. On alpha, size_t is a long, and itMark Murray2003-05-031-13/+17
| | | | | | | | solicits a warning when used for the '*' in printf("%*d"). Cast to u_int for universal use. Notes: svn path=/head/; revision=114582
* Fix a shedload of warnings, some memory leaks and clean up WARNSMark Murray2003-05-031-39/+61
| | | | | | | and lint. This is now WARNS=9, std=c99 clean on i386. Notes: svn path=/head/; revision=114579
* Fix format warning. This is WARNS=9, std=c99 clean on i386.Mark Murray2003-05-031-1/+1
| | | | Notes: svn path=/head/; revision=114576
* Fix warnings. This is now WARNS=9, std=c99 clean in i386.Mark Murray2003-05-031-9/+10
| | | | | | | | Use return(0) for main() instead of exit(0). Makes it a wee bit smaller. Notes: svn path=/head/; revision=114575
* Make this WARNS=1 as that is all we can do with GCC 3.3 -- too manyDavid E. O'Brien2003-05-021-0/+1
| | | | | | | sized/unsigned comparisons. Notes: svn path=/head/; revision=114510
* Make count a size_t as that is what is compared against and how it is used.David E. O'Brien2003-05-021-1/+2
| | | | Notes: svn path=/head/; revision=114509
* The is_name and is_in_name macros are FUBAR'ed.David E. O'Brien2003-05-021-0/+2
| | | | | | | | | Due to the use of signed vs. unsigned chars on our various platforms, one gets "warning: comparison is always true due to limited range of data type" from GCC 3.3. Notes: svn path=/head/; revision=114500
* fmt.c has a comparison between signed and unsigned that is unclear howDavid E. O'Brien2003-05-021-0/+1
| | | | | | | to properly fix. Notes: svn path=/head/; revision=114483
* Quiet warnings about copyright[].David E. O'Brien2003-05-021-2/+2
| | | | Notes: svn path=/head/; revision=114470
* Fix signed/unsigned mix comparisons involving sizeof.David E. O'Brien2003-05-023-11/+13
| | | | Notes: svn path=/head/; revision=114469
* Quiet warnings about copyright[].David E. O'Brien2003-05-0124-44/+47
| | | | Notes: svn path=/head/; revision=114433
* Make GCC 3.3 STFU about copyright[].David E. O'Brien2003-05-011-1/+1
| | | | Notes: svn path=/head/; revision=114423
* Add the -j and -y options to the synopsis.Tim J. Robbins2003-05-011-1/+1
| | | | Notes: svn path=/head/; revision=114369
* Fix references to non-existing or obsoleted man pages.Jens Schweikhardt2003-04-302-5/+2
| | | | | | | | PR: docs/51480 (only a small part) Submitted by: Diomidis D. Spinellis <dds@aueb.gr> Notes: svn path=/head/; revision=114318