summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: A better version of the same.ru2003-05-162-3/+3
| | | | Approved by: re (blanket)
* mdoc(7) police: Fix document date.ru2003-05-161-1/+1
| | | | Approved by: re (blanket)
* Note that -n and \c are implementation-defined as per TC1 to POSIX 2001.schweikh2003-05-081-2/+11
| | | | | Approved by: re@ (bmah) MFC after: 3 days
* df(1) and ls(1) print units in 'four or fewer' not 'three or less'.trhodes2003-05-062-3/+3
| | | | | PR: 35523 Submitted by: Tomas Svensson <tsn@gbdev.net>
* Centralize _PATH_* definitions.obrien2003-05-053-40/+2
| | | | Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)
* Fix long constant usage for i386.markm2003-05-031-1/+1
| | | | Tested by: Joe Marcus Clarke <marcus@marcuscom.com>
* Fix a broken reference to locale(5) and point to re_format(7) too for ankeramida2003-05-031-2/+3
| | | | explanation of `collating elements'.
* Fix a bazillion warnings. This makes almost the whole of src/bin/*markm2003-05-0317-148/+161
| | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha
* WARNS cleaning for the Alpha. On alpha, size_t is a long, and itmarkm2003-05-031-13/+17
| | | | | solicits a warning when used for the '*' in printf("%*d"). Cast to u_int for universal use.
* Fix a shedload of warnings, some memory leaks and clean up WARNSmarkm2003-05-031-39/+61
| | | | and lint. This is now WARNS=9, std=c99 clean on i386.
* Fix format warning. This is WARNS=9, std=c99 clean on i386.markm2003-05-031-1/+1
|
* Fix warnings. This is now WARNS=9, std=c99 clean in i386.markm2003-05-031-9/+10
| | | | | Use return(0) for main() instead of exit(0). Makes it a wee bit smaller.
* Make this WARNS=1 as that is all we can do with GCC 3.3 -- too manyobrien2003-05-021-0/+1
| | | | sized/unsigned comparisons.
* Make count a size_t as that is what is compared against and how it is used.obrien2003-05-021-1/+2
|
* The is_name and is_in_name macros are FUBAR'ed.obrien2003-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.
* fmt.c has a comparison between signed and unsigned that is unclear howobrien2003-05-021-0/+1
| | | | to properly fix.
* Quiet warnings about copyright[].obrien2003-05-021-2/+2
|
* Fix signed/unsigned mix comparisons involving sizeof.obrien2003-05-023-11/+13
|
* Quiet warnings about copyright[].obrien2003-05-0124-44/+47
|
* Make GCC 3.3 STFU about copyright[].obrien2003-05-011-1/+1
|
* Add the -j and -y options to the synopsis.tjr2003-05-011-1/+1
|
* Fix references to non-existing or obsoleted man pages.schweikh2003-04-302-5/+2
| | | | | PR: docs/51480 (only a small part) Submitted by: Diomidis D. Spinellis <dds@aueb.gr>
* We have to hide copyright[] for gcc33. :-(obrien2003-04-301-0/+2
|
* When mac_from_text() fails with -Z, print "-" rather than "" so thatrwatson2003-04-261-1/+1
| | | | | | | scripts parsing ls(1) output can still count columns. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Revert the zombie part of previous commitcharnier2003-04-151-1/+1
|
* Correct style bugs. Don't skip zombies in cputime(), according to Bruce,charnier2003-04-141-58/+42
| | | | | | zombie CPU times are valid. Adjust array size in strftime(3). Submitted by: Bruce
* Include <signal.h> instead of depending on namespace pollution inbde2003-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.
* Fixed some style bugs in rev.1.44.bde2003-04-131-3/+2
|
* Display residency and sleep times (re and sl fields) larger than 127 as 127.tjr2003-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
* Refer to 1003.1-2001 in the Standards section now that TC1 allows thetjr2003-04-121-4/+4
| | | | traditional BSD behaviour (-n option) and FreeBSD extensions (\c).
* Document the -L and -P options as being mutually exclusive.tjr2003-04-121-2/+2
|
* Document the -L and -P options to the cd and pwd commands as beingtjr2003-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.
* Use the correct data type and qualifier for signal flag.mdodd2003-04-072-2/+2
|
* Add a SIGINFO handler.mdodd2003-04-074-0/+45
|
* Document how to clear flags with negative-logic, currently onlyjohan2003-03-241-4/+9
| | | | | | | | the nodump flag. PR: 46912 Reported by: dave@syix.com <dave@syix.com> MFC after: 2 weeks
* The .Nm utilitycharnier2003-03-241-2/+3
|
* Flush the output buffers before forking a child process to avoidtjr2003-03-171-0/+1
| | | | | | | the child process writing data that the parent should have written. PR: 50051 MFC after: 2 weeks
* ssize_t is not required to be the same width as size_t by theru2003-03-151-4/+6
| | | | | | specs, so cast to intmax_t where appropriate. Pointed out by: bde
* Fixed (soon might be fatal) -Wformat warnings.ru2003-03-152-4/+5
|
* Add an -o filename option to have the output written to a file.marcel2003-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>
* WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead ofmarkm2003-02-278-47/+50
| | | | | | -ansi, due to 'long long'. Reviewed by: green (slightly earlier version)
* Third attempt at removing machdep.h and using ALIGN from <sys/param.h>.marcel2003-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
* mdoc(7) police: markup laundry.ru2003-02-231-31/+22
|
* Grammar.ru2003-02-231-1/+1
|
* We can simplify this Makefile down to a single line now.obrien2003-02-191-4/+0
|
* Add an example to help one manually set the date on one machine taking the outobrien2003-02-181-0/+5
| | | | put from another.
* chflags(1) repo copied, usr.bin->bin.obrien2003-02-181-0/+1
| | | | | We've been installing chflags(1) into /bin since 2000-11-10, so this shouldn't cause any problems.
* Revert ALIGN change for the second and last time. I can't figure outtjr2003-02-183-6/+56
| | | | why this is breaking sparc64.
* Second attempt at removing machdep.h and using ALIGN from <sys/param.h>.tjr2003-02-173-56/+6
| | | | | | The problem with the previous attempt, as noticed by Marcel, was that stacknxt was being aligned to a pointer boundary instead of an ALIGNBYTES + 1 boundary, which broke sparc64.
* Temporarily back out machdep.h/ALIGN changes. It seems that on sparc64,tjr2003-02-163-4/+54
| | | | | | using the alignment from sys/param.h (16) instead of the alignment from machdep.h (8) tickled a nasty bug in the memory allocator that I haven't been able to track down yet.
OpenPOWER on IntegriCloud