summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/5.1.0_cvscvs2svn2003-06-04264-264/+264
| | | | | | | 'RELENG_5_1_0_RELEASE'. This commit was manufactured to restore the state of the 5.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* This commit was manufactured by cvs2svn to create branch 'RELENG_5_1'.cvs2svn2003-05-314-359/+0
| | | | Notes: svn path=/releng/5.1/; revision=115436
* 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
* We have to hide copyright[] for gcc33. :-(David E. O'Brien2003-04-301-0/+2
| | | | Notes: svn path=/head/; revision=114301
* When mac_from_text() fails with -Z, print "-" rather than "" so thatRobert Watson2003-04-261-1/+1
| | | | | | | | | | scripts parsing ls(1) output can still count columns. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=114047
* Revert the zombie part of previous commitPhilippe Charnier2003-04-151-1/+1
| | | | Notes: svn path=/head/; revision=113524
* Correct style bugs. Don't skip zombies in cputime(), according to Bruce,Philippe Charnier2003-04-141-58/+42
| | | | | | | | | zombie CPU times are valid. Adjust array size in strftime(3). Submitted by: Bruce Notes: svn path=/head/; revision=113485
* Include <signal.h> instead of depending on namespace pollution inBruce Evans2003-04-131-1/+2
| | | | | | | | <sys/param.h>. Include <sys/types.h> instead of of <sys/param.h> so that further such dependencies don't develop. Notes: svn path=/head/; revision=113431
* Fixed some style bugs in rev.1.44.Bruce Evans2003-04-131-3/+2
| | | | Notes: svn path=/head/; revision=113430
* Display residency and sleep times (re and sl fields) larger than 127 as 127.Tim J. Robbins2003-04-123-3/+6
| | | | | | | | | | This is what the manual page says ps should do, and what OpenBSD and NetBSD do. Based on a patch from Ken Stailey. PR: 27433, 46232 Notes: svn path=/head/; revision=113395
* Refer to 1003.1-2001 in the Standards section now that TC1 allows theTim J. Robbins2003-04-121-4/+4
| | | | | | | traditional BSD behaviour (-n option) and FreeBSD extensions (\c). Notes: svn path=/head/; revision=113381
* Document the -L and -P options as being mutually exclusive.Tim J. Robbins2003-04-121-2/+2
| | | | Notes: svn path=/head/; revision=113380
* Document the -L and -P options to the cd and pwd commands as beingTim J. Robbins2003-04-121-3/+3
| | | | | | | | | mutually exclusive. The fact that the most recent one specified on the command line is the one that takes effect is an implementation detail and users should not rely on this. Notes: svn path=/head/; revision=113379
* Use the correct data type and qualifier for signal flag.Matthew N. Dodd2003-04-072-2/+2
| | | | Notes: svn path=/head/; revision=113218
* Add a SIGINFO handler.Matthew N. Dodd2003-04-074-0/+45
| | | | Notes: svn path=/head/; revision=113209
* Document how to clear flags with negative-logic, currently onlyJohan Karlsson2003-03-241-4/+9
| | | | | | | | | | | the nodump flag. PR: 46912 Reported by: dave@syix.com <dave@syix.com> MFC after: 2 weeks Notes: svn path=/head/; revision=112557
* The .Nm utilityPhilippe Charnier2003-03-241-2/+3
| | | | Notes: svn path=/head/; revision=112544
* Flush the output buffers before forking a child process to avoidTim J. Robbins2003-03-171-0/+1
| | | | | | | | | | the child process writing data that the parent should have written. PR: 50051 MFC after: 2 weeks Notes: svn path=/head/; revision=112341
* ssize_t is not required to be the same width as size_t by theRuslan Ermilov2003-03-151-4/+6
| | | | | | | | | specs, so cast to intmax_t where appropriate. Pointed out by: bde Notes: svn path=/head/; revision=112265
* Fixed (soon might be fatal) -Wformat warnings.Ruslan Ermilov2003-03-152-4/+5
| | | | Notes: svn path=/head/; revision=112254
* Add an -o filename option to have the output written to a file.Marcel Moolenaar2003-03-152-6/+22
| | | | | | | | | | This option is present on most uuidgen(1) implementations even though normal file redirection can be used to achieve the same. Submitted by: Hiten Pandya <hiten@unixdaemons.com> Notes: svn path=/head/; revision=112252
* WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead ofMark Murray2003-02-278-47/+50
| | | | | | | | | -ansi, due to 'long long'. Reviewed by: green (slightly earlier version) Notes: svn path=/head/; revision=111629
* Third attempt at removing machdep.h and using ALIGN from <sys/param.h>.Marcel Moolenaar2003-02-243-101/+54
| | | | | | | | | | | | | | | | | The initial stack_block is staticly allocated and will be aligned according to the alignment requirements of pointers, which does not necessarily match the alignment enforced by ALIGN. To solve this a more involved change is required: remove the static initial stack and deal with an initial condition of not having a stack at all. This change is therefore more risky than the previous ones, but unavoidable (other than not using the platform default alignment). Discussed with: tjr Approved and reviewed by: tjr Tested on: alpha, i386, ia64 and sparc64 Notes: svn path=/head/; revision=111422
* mdoc(7) police: markup laundry.Ruslan Ermilov2003-02-231-31/+22
| | | | Notes: svn path=/head/; revision=111285
* Grammar.Ruslan Ermilov2003-02-231-1/+1
| | | | Notes: svn path=/head/; revision=111278
* We can simplify this Makefile down to a single line now.David E. O'Brien2003-02-191-4/+0
| | | | Notes: svn path=/head/; revision=111132