Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename a local variable in order to avoid collision with standard 'log' | kan | 2003-06-30 | 1 | -3/+3 |
| | | | | function. | ||||
* | pass -1 to setfile in cp.c | jmg | 2003-06-30 | 1 | -1/+1 |
| | | | | Submitted by: Jun Kuriyama | ||||
* | Tweak a couple of utilities so they compile cleanly for /rescue. Mostly | gordon | 2003-06-29 | 1 | -0/+4 |
| | | | | | | path fixes. Submitted by: Tim Kientzle <kientzle@acm.org> | ||||
* | Unbreak NOCRYPT buildworld. | ru | 2003-06-29 | 1 | -1/+1 |
| | | | | Reviewed by: markm | ||||
* | support saving both user/group and permissions on symlinks (from PR) | jmg | 2003-06-22 | 1 | -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 | ||||
* | Get this area compiling with the highest WARNS= that it works with. | markm | 2003-06-13 | 11 | -18/+7 |
| | | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 | ||||
* | Add the -H option to ps(1) to display all kernel visible threads in each | scottl | 2003-06-12 | 2 | -6/+19 |
| | | | | | process. The default behavior of showing only the process is retained as the default. | ||||
* | add section name to .Xr | charnier | 2003-06-08 | 1 | -1/+1 |
| | |||||
* | Fix for the NO_OPENSSL case. | markm | 2003-06-08 | 1 | -1/+1 |
| | | | | Reported by: Marius Strobl <marius@alchemy.franken.de> | ||||
* | Clarify what -p option does. | ru | 2003-06-07 | 1 | -11/+12 |
| | | | | | | Prodded by: marcel While here, spell the "set-{user,group}-ID bit" correctly. | ||||
* | Use | kuriyama | 2003-06-06 | 1 | -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 | ||||
* | Make ed compile in the NOCRYPT case. | jhay | 2003-06-03 | 1 | -0/+4 |
| | | | | Reviewed by: markm | ||||
* | Catch up with revs 1.49-1.50 of df.c: don't mention -t in the BUGS section | bde | 2003-06-03 | 1 | -3/+1 |
| | | | | since it has been fixed. | ||||
* | Fixed exit code in previous commit. "var++" to set a flag to nonzero | bde | 2003-06-03 | 1 | -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. | ||||
* | From the df man page: | jkh | 2003-06-02 | 1 | -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 | ||||
* | Modernise. Use libcrypto for DES instead of libcipher. | markm | 2003-06-02 | 3 | -52/+51 |
| | |||||
* | Instead of eating trailing newlines after inserting them into the | fenner | 2003-05-31 | 1 | -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 | ||||
* | Erase whitspace at EOL. | ru | 2003-05-22 | 1 | -1/+1 |
| | | | | Approved by: re (blanket) | ||||
* | Retire the useless NOSECURE knob. | des | 2003-05-19 | 1 | -1/+1 |
| | | | | Approved by: re (scottl) | ||||
* | mdoc(7) police: A better version of the same. | ru | 2003-05-16 | 2 | -3/+3 |
| | | | | Approved by: re (blanket) | ||||
* | mdoc(7) police: Fix document date. | ru | 2003-05-16 | 1 | -1/+1 |
| | | | | Approved by: re (blanket) | ||||
* | Note that -n and \c are implementation-defined as per TC1 to POSIX 2001. | schweikh | 2003-05-08 | 1 | -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'. | trhodes | 2003-05-06 | 2 | -3/+3 |
| | | | | | PR: 35523 Submitted by: Tomas Svensson <tsn@gbdev.net> | ||||
* | Centralize _PATH_* definitions. | obrien | 2003-05-05 | 3 | -40/+2 |
| | | | | Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me) | ||||
* | Fix long constant usage for i386. | markm | 2003-05-03 | 1 | -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 an | keramida | 2003-05-03 | 1 | -2/+3 |
| | | | | explanation of `collating elements'. | ||||
* | Fix a bazillion warnings. This makes almost the whole of src/bin/* | markm | 2003-05-03 | 17 | -148/+161 |
| | | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha | ||||
* | WARNS cleaning for the Alpha. On alpha, size_t is a long, and it | markm | 2003-05-03 | 1 | -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 WARNS | markm | 2003-05-03 | 1 | -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. | markm | 2003-05-03 | 1 | -1/+1 |
| | |||||
* | Fix warnings. This is now WARNS=9, std=c99 clean in i386. | markm | 2003-05-03 | 1 | -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 many | obrien | 2003-05-02 | 1 | -0/+1 |
| | | | | sized/unsigned comparisons. | ||||
* | Make count a size_t as that is what is compared against and how it is used. | obrien | 2003-05-02 | 1 | -1/+2 |
| | |||||
* | The is_name and is_in_name macros are FUBAR'ed. | obrien | 2003-05-02 | 1 | -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 how | obrien | 2003-05-02 | 1 | -0/+1 |
| | | | | to properly fix. | ||||
* | Quiet warnings about copyright[]. | obrien | 2003-05-02 | 1 | -2/+2 |
| | |||||
* | Fix signed/unsigned mix comparisons involving sizeof. | obrien | 2003-05-02 | 3 | -11/+13 |
| | |||||
* | Quiet warnings about copyright[]. | obrien | 2003-05-01 | 24 | -44/+47 |
| | |||||
* | Make GCC 3.3 STFU about copyright[]. | obrien | 2003-05-01 | 1 | -1/+1 |
| | |||||
* | Add the -j and -y options to the synopsis. | tjr | 2003-05-01 | 1 | -1/+1 |
| | |||||
* | Fix references to non-existing or obsoleted man pages. | schweikh | 2003-04-30 | 2 | -5/+2 |
| | | | | | PR: docs/51480 (only a small part) Submitted by: Diomidis D. Spinellis <dds@aueb.gr> | ||||
* | We have to hide copyright[] for gcc33. :-( | obrien | 2003-04-30 | 1 | -0/+2 |
| | |||||
* | When mac_from_text() fails with -Z, print "-" rather than "" so that | rwatson | 2003-04-26 | 1 | -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 commit | charnier | 2003-04-15 | 1 | -1/+1 |
| | |||||
* | Correct style bugs. Don't skip zombies in cputime(), according to Bruce, | charnier | 2003-04-14 | 1 | -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 in | bde | 2003-04-13 | 1 | -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. | bde | 2003-04-13 | 1 | -3/+2 |
| | |||||
* | Display residency and sleep times (re and sl fields) larger than 127 as 127. | tjr | 2003-04-12 | 3 | -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 the | tjr | 2003-04-12 | 1 | -4/+4 |
| | | | | traditional BSD behaviour (-n option) and FreeBSD extensions (\c). | ||||
* | Document the -L and -P options as being mutually exclusive. | tjr | 2003-04-12 | 1 | -2/+2 |
| |