summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix a syntax error in the generated code when invoked with -P. Note thatstefanf2005-09-021-1/+0
| | | | | the generated code still doesn't compile as we lack tinfo, t_getinfo and friends.
* - Do not allocate memory to entries in /var/rwho which have been down forssouhlal2005-09-021-3/+3
| | | | | | | more than 4 days - waste of memory. Obtained from: DragonFlyBSD (liamfoy) MFC after: 3 days
* Stop generating the `register' keyword.stefanf2005-09-023-4/+4
|
* Don't generate K&R C code. The -C flag is kept for backwards compatibility.stefanf2005-09-029-402/+125
| | | | Also remove the SIG_PF macro, there is no need to cast closedown.
* Only write the dispatch table function prototypes to the header if the -hstefanf2005-09-013-25/+24
| | | | | | | | flag was specified. If all files are generated at once, those functions are static and shouldn't appear in the header. PR: 84450 Reviewed by: alfred
* - Use prototypes in headers.stefanf2005-08-3110-43/+49
| | | | | - Include rpc_scan.h before rpc_util.h for the tok_kind enum. - Nuke unused declarations.
* Rename the variable `inline' to `inline_size'.stefanf2005-08-314-16/+11
|
* Include option-argument names in the list in the DESCRIPTION section.tjr2005-08-301-12/+4
| | | | Remove a non-bug from the BUGS section.
* Remove undocumented historic support for treating "-" as an optiontjr2005-08-301-14/+8
| | | | instead of a file operand; this is not compatible with POSIX.
* Unbreak tail -f on non-local filesystems.ps2005-08-261-0/+10
|
* Revert previous behaviour of '-F' option and add '-L' option, which willpjd2005-08-252-27/+43
| | | | | | | tell pkill(1)/pgrep(1) to try to flock(2) pidfile before reading PID from there. Discussed with: jhb, gad
* Fixes for gcc 4.x.roberto2005-08-251-15/+11
| | | | | PR: bin/84995 Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz>
* Fixes for gcc4.x.roberto2005-08-252-1/+2
| | | | | Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> PR: bin/84991
* Modify '-F' option to work nicely with pidfile(3) - a pidfile given aspjd2005-08-242-0/+22
| | | | an argument has to be locked.
* List -W as one of the meaningful options to the -i (interfaces)yar2005-08-241-1/+1
| | | | | | display of netstat(1). MFC after: 3 days
* Add a -h option to tell cmp not to follow symbolic links.brian2005-08-235-7/+123
| | | | | MFC after: 3 weeks Sponsored by: Sophos/ActiveState
* Most users probably aren't interested in locating 13000+ files namedcperciva2005-08-222-2/+2
| | | | | | | | [0-9a-f]{64}, so exclude portsnap's compressed snapshots from locate's indexing. Suggested by: silby MFC after: 3 days
* Remove the hack that varied the first character of the output file nametjr2005-08-212-15/+5
| | | | | | | | if none was specified on the command line. This is not permitted by POSIX, and no longer needed now that we have the -a option. PR: 85099 Submitted by: Toby Peterson (Apple Computer)
* Bail if interface is misspelled instead of falling out into theru2005-08-201-0/+2
| | | | | "all interfaces" mode. (Only works with -w, but still better than nothing.)
* Correct typos found by ispell.murray2005-08-192-2/+2
|
* Add a new switch -h for interface stats mode, which prints all interfaceglebius2005-08-184-10/+29
| | | | | | | statistics in human readable form. In collaboration with: vsevolod Reviewed by: cperciva
* While revision 1.26 fixed the code to really subtract 3600 due tostefanf2005-08-181-3/+1
| | | | | daylight-saving, this was actually wrong because mktime() already does that for us.
* Remove the dates from these files. They serve no purpose and result incperciva2005-08-171-1/+2
| | | | | | these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.
* Correct birthdate for Meriwether Lewis. He was born before themurray2005-08-171-1/+1
| | | | declaration of independence, not after the first world war.
* It's actually 11 minutes when the machine is assumed to be down and removedssouhlal2005-08-071-1/+1
| | | | | | from the output. Obtained from: DragonFlyBSD
* Use libmemstat(3)'s kvm support for malloc(9) rather than hand-extractingrwatson2005-08-061-96/+19
| | | | this information from the core dump.
* Old habits die hard: Make that .if defined(YES_HESIOD) not .if !definedphk2005-08-061-1/+1
|
* Change the data type of the upper shared memory limits from a signedcsjp2005-08-061-5/+5
| | | | | | | | | | | | integer to an unsigned long. This lifts variables like the maximum number of pages available for shared memory from 2^31 to 2^32 on 32 bit architectures, and from 2^31 to 2^64 on 64 bit architectures. It should be noted that this changes breaks ABI on 64 bit architectures because the size of the shmmax, shmmin, shmmni, shmseg and shmall members of the shminfo structure has changed. Silence on: current@
* Put hesinfo(1) under buildoption "YES_HESIOD"phk2005-08-061-1/+5
|
* Include ../Makefile.inc, since without it programs get installed in thecperciva2005-08-061-0/+3
| | | | | | wrong place. Pointy hat to: cperciva
* Add bsdiff and bspatch to the base system. These are tools forcperciva2005-08-069-0/+753
| | | | | | | | | | | | | | | | | | | | | | | constructing and applying binary patches; in particular, they perform well (in the sense of constructing small patches) for executable code. Both portsnap (coming to the base system Real Soon Now) and FreeBSD Update (coming to the base system a bit later) use bspatch. This is the same code as the bsdiff-4.2 which has been in the ports tree (misc/bsdiff) for the past year, with the following exceptions: 1. The license is now the traditional 2-clause BSD; 2. Instead of forking and execing bzip2, the code now uses libbz2; and 3. Some minor changes have been made to fit this code into the base system (adding $FreeBSD$ tags, putting bsdiff and bspatch into separate directories, etc.) This code is rather ugly and has lots of style bugs (mostly because I wrote it before I had ever heard of style(9)). Some day I'll come back and clean it up. Discussed on: freebsd-arch MFC before: 5.5-RELEASE Tested by: Several million users (earlier version).
* Don't include -lipx twice.phk2005-08-051-2/+2
|
* Make IPX support depend on NO_IPXphk2005-08-052-2/+16
|
* Let NO_MAN control catmanphk2005-08-051-1/+5
|
* Use socklen_t where appropriate.stefanf2005-08-052-3/+4
|
* Include <err.h> where needed. Add $FreeBSD$ where missing.stefanf2005-08-057-0/+11
|
* Prefer {u,}intmax_t over the deprecated {u_,}quad_t.stefanf2005-08-051-17/+18
|
* Don't throw away the adjusted `runtimer' value.stefanf2005-08-051-3/+1
|
* Call usage() instead of being insolent.jmallett2005-08-051-5/+4
|
* Bug fix: a numeric flag specification in the substitute command woulddds2005-08-041-2/+8
| | | | | | | | cause the next substitute flag to be ignored. While working at it, detect and report overflows. Reported by: Jingsong Liu MFC after: 1 week
* Add NO_CALENDARphk2005-08-031-1/+5
|
* Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8).seanc2005-08-022-0/+2
|
* The bsdtar_warnc() reporting function requires the program name to bekientzle2005-08-021-10/+12
| | | | | | | | | set up before it is called, so move the progname initialization before the first possible call to bsdtar_warnc(). Thanks to: Stanislav Sedov PR: bin/83366 MFC after: 7 days
* Teach vmstat's domemstat_zone() to use memstat_kvm_uma() when the kvmrwatson2005-08-011-14/+19
| | | | | descriptor is non-NULL, restoring vmstat -z support for core dumps and kmem access. These were broken with the introduction of UMA.
* Fix all the spelling mistakes I could find in the man pages for wordskeramida2005-07-317-8/+8
| | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these.
* Introduce kdevtoname, which when given the kernel address of acsjp2005-07-301-4/+16
| | | | | | | | | cdev structure, returns the device name associated with it through the __si_namebuf member. This un-breaks the processing of devices. This is a RELENG_6 candidate. Reviewed by: phk
* Minor syntax tweaks:rwatson2005-07-281-17/+0
| | | | | | | | | | - Remove some extra blank lines. - Remove comments that don't contribute to understanding. - Remove additional blank lines in output added to maximize compatibility with older vmstat output, but that is actually somewhat gratuitous. Submitted by: bde MFC with: other vmstat libmemstat(3) changes
* Teach vmstat -m and vmstat -z to use libmemstat(3). Certainrwatson2005-07-252-23/+96
| | | | | | | | | | | statistics from -z are now a bit different due to changes in the way statistics are now measured. Reproduce with some amount of accuracy the slightly obscure layouts adopted by the two kernel sysctls. In the future, we might want to normalize them. GC dosysctl(), which is now no longer used. MFC after: 1 week
* Disable thread support in BIND. It appears to reduce performance ratherdes2005-07-254-8/+8
| | | | | | | | than increase it, and seems to be the cause of the memory leaks which some users have reported. Requested by: dougb MFC after: 5 days
* Since libmemstat(3) now supports its own error management mechanism,rwatson2005-07-241-1/+2
| | | | | | | use that instead of trying to use errno, in order to produce a sensible error message. MFC after: 1 day
OpenPOWER on IntegriCloud