summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* The file_descriptor argument to -t isn't optional, so don't mark it up so.dd2001-08-311-1/+1
|
* On today's kernels masking with ~KERNBASE is turning out to be lesspeter2001-08-242-4/+4
| | | | | | than useful. It still hits at least 8 digits. Adjust for reality. This is still not satisfactory for the alpha if you add "-O paddr".
* Handle kvm_getprocs() returning nothing. Dont pass -1 to a sizepeter2001-08-241-1/+1
| | | | for malloc().
* Implement `stty ek` as documented.dd2001-08-231-0/+12
| | | | | PR: 24063 Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
* Only capitalise the last `t' in ps's first argument when it'sbrian2001-08-161-1/+5
| | | | | | | actually part of an option argument. Submitted by: Chris Costello <chris@calldei.com> MFC after: 6 weeks
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-1514-42/+14
|
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-144-6/+17
|
* Initialize infp at main()peter2001-08-131-1/+2
|
* Initialize listf at main()peter2001-08-131-1/+2
|
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-131-1/+1
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-4/+0
|
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-104-14/+12
|
* can not -> cannotsheldonh2001-08-081-1/+1
|
* mdoc(7) police:ru2001-08-074-25/+18
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* o Correctly define rcsid.mike2001-08-0610-182/+158
| | | | | | | | | | | o Add consts where appropriate. o Rename some variables that were shadowing global declarations. o Remove register storage-classes. o Make errmsg a const, so we can just set error messages instead of using sprintf/strcpy. o Set WARNS=2 Reviewed by: bde, des
* style(9)obrien2001-08-011-1/+1
|
* Remove a misplaced space.obrien2001-08-011-1/+1
|
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-262-3/+3
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Break the list of parameter expansions into two lists so thatsheldonh2001-07-231-0/+2
| | | | | | the paragraph introducing the prefix and suffix pattern expansions does not appear as part of the explanation for the string length expansion.
* Don't use the pronoun "you".dd2001-07-231-6/+7
| | | | Reviewed by: sheldonh, mpp
* Don't put a shell prompt in the example since none of the other mandd2001-07-221-2/+8
| | | | | pages do it. Also, don't use brackets to indicate optional options in the example; instead, add a paragraph below the example explaining it.
* Add missing closing parenthesis.ben2001-07-211-1/+1
|
* Show an example of how to sort a file listing by size. Hopefully thisobrien2001-07-211-0/+9
| | | | | will reduce the number of people calling for this functionality to be added to ls(1).
* Fix style bugs introduced by rev 1.28. No functional changes.wollman2001-07-161-11/+12
|
* Set WARNS=2 on programs which compile cleanly.dd2001-07-154-0/+4
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Remove whitespace at EOL.dd2001-07-1519-135/+135
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-1015-15/+20
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-092-4/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-093-4/+6
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-062-3/+3
|
* Fix warnings on alpha and re-enable WARNS=2.mikeh2001-07-042-13/+18
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Argh...this isn't ready for WARNS=2 on alpha.mikeh2001-07-031-1/+0
|
* Constify and lockdown with WARNS=2.mikeh2001-07-033-25/+26
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> MFC after: 2 weeks
* Use __unused for non-used variables.green2001-06-292-2/+2
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Add a note on what happens if the "-p" option is specifiedyar2001-06-291-0/+2
| | | | | | | and a final directory already exists. Reviewed by: freebsd-audit MFC after: 5 days
* Back out previous commit: it doesn't help anything since write_file(),dd2001-06-281-2/+2
| | | | | | | | which is also called from handle_hup(), uses stdio(3). Furthermore, this means that calling exit(3) (via quit()) there is required to flush the buffer write_file() was working on. Submitted by: bde
* Use the correct printf format to print a long.dwmalone2001-06-261-1/+1
| | | | Approved by: cracauer
* Previous commit broke dd(1)'s I/O summary when it's terminated by add2001-06-251-0/+1
| | | | | | | | | signal. Fix it by adding an explicit call to summary() in terminate() (it was previously called implicitly by exit() because summary() was registered with atexit()). summary() is supposed to be signal-safe-- it handles SIGINFO almost exclusively--so this should be safe. Submitted by: bde
* Include missing header files which define functions for which gcc hasdd2001-06-243-0/+3
| | | | builtins (e.g., exit, strcmp).
* Don't call exit(3) from a signal handler.dd2001-06-242-4/+3
| | | | Obtained from: OpenBSD
* Remove duplicate words.dd2001-06-241-1/+1
|
* WARNS= -> WARNS?=dd2001-06-2215-15/+15
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Add more headers that are required with -fno-builtin (stdlib and strings)des2001-06-195-0/+6
|
* <stdlib.h> is needed for exit(3) when building with -fno-builtin.des2001-06-191-0/+1
|
* Xref zcat(1).dd2001-06-181-0/+1
|
* Check for the PS_SINTR flag in the right field of struct kinfo_proctegge2001-06-161-1/+1
| | | | (ki_sflag).
* Removed wrong cast for fts_open()'s third argument.ru2001-06-131-1/+1
|
* Removed the broken code which claimed to lose the set[ug]id bits inbde2001-06-113-27/+4
| | | | | | | | | | | | | | | | | | | | | the !(pflag && setfile()) case for regular files unless the copy is owned by the same user and group. These bits have already been lost (or never gained) in the correct way. The code didn't actually lose the bits; it depended on them being lost already (apparently in all cases) and attempted to gain them as necessary, but it often gained them (and sometimes collateral bits) when wrong: - pflag && setfile() == 0 case (i.e., for a successful cp -p): setfile() copies all the attributes as correctly as possible (as specified by POSIX), and we sometimes messed up the up the mode by setting it again. Also, if the file is immutable, then setting the mode again gave spurious errors (PR 20646). - !pflag case. If the target is created, POSIX requires it to not have the set[ug]id bits, but we sometimes copied them from the source. If the target already exists, POSIX requires its mode to be unchanged, but we sometimes copied the whole mode from the source. PR: 20646 MFC after: 4 weeks
* Use new locale namesache2001-06-107-15/+15
|
OpenPOWER on IntegriCloud