summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Use `The .Nm utility'charnier2002-04-1926-112/+159
|
* Compound two fprintf(3)s into 1 using string concatenation.jmallett2002-04-191-2/+1
|
* After 3 months...jmallett2002-04-194-44/+272
| | | | | | | | | | | | | | | | | Merge xargs(1) with that of xMach. Bring in xargs(1) changes to add -L and -I as per the Single Unix Specification version 3. Proper exit status numbers are implemented, and the manual page has been updated to reflect reality. The code has been ANSIfied, and a new file has been added to xargs(1) to do the substring substitution as SUSv3 requires. Traditional behaviour should not be affected, use of -J should be deprecated in favor of the more portable -I (though -J has been left, for now). Submitted by: me, tjr (the exit status stuff) Obtained from: xMach
* Use `The .Nm utility'. Introduce options with well known sentence.charnier2002-04-191-8/+11
|
* Add .Pp before enumerating optionscharnier2002-04-192-0/+2
|
* Prevent sign extension on characters with 8bit setache2002-04-191-1/+1
|
* Add __FBSDID, this file was unmodified so it was missed in the initial sweep.jmallett2002-04-191-0/+3
|
* Bring OpenBSD m4(1) off of the OPENBSD vendor branch, and add the -s option,jmallett2002-04-1912-643/+1442
| | | | | | | $FreeBSD$ identifiers, and fix initialisation to stderr to happen in a function as stderr is not the same in CURRENT as in OpenBSD. Reviewed by: obrien
* Merge differences and correct the manual page.jmallett2002-04-191-144/+309
|
* Localize it, LC_CTYPEache2002-04-191-1/+4
|
* Use LC_ALL to pick collateache2002-04-191-1/+1
| | | | Noticed by: tjr
* Move the sysV variable substitution up with the BSD feature that replaced it.obrien2002-04-191-2/+2
|
* Add a reference to the kenv(2) manpage.mux2002-04-181-0/+1
|
* Fixed some style bugs:bde2002-04-181-3/+4
| | | | | | | - ifdefs around vendor sccsid were left reversed after switching to __FBSDID(). - vertical whitespace after some of the non-FALLTHROUGH cases was lost. - too much vertical whitespace before prototypes.
* Backed out the style bugs in rev.1.17:bde2002-04-181-41/+41
| | | | | | | | | | - don't use unusual indentation for 39 lines of declarations when only 2 of the lines benefit from it. - don't use __DECONST(). This was the one use of it in the tree, and it was just wrong. It was used to hide the warning about tgetnum() having the wrong prototype (missing a `const') due to libncurses being misconfigured. libncurses has been fixed, so the original code now compiles cleanly with WARNS=4.
* Do not reset MAKEFILE when reading ".depend" as this ratherru2002-04-181-1/+6
| | | | | | | eliminates the usefulness of ${MAKEFILE}. Obtained from: NetBSD MFC after: 1 week
* Replaced exists() tests with two equivalent defined().ru2002-04-182-2/+2
| | | | | LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60.
* Add the -b option (break at byte position, not column number) and the -stjr2002-04-182-29/+97
| | | | | | | | | | | | | | | | option (try to break at word bounaries) for SUSv3 conformance. Partially based on the NetBSD version, with the following changes: - style(9) - break on <blank>s, not spaces, per POSIX (and GNU) - when looking for last space on line, search backwards instead of forwards; less comparisons needed this way. - use LINE_MAX macro instead of a magic number and a comment saying it is LINE_MAX. PR: 36245 Reviewed by: mike Obtained from: NetBSD (partially)
* mdoc police: use .El to end the list in the ENVIRONMENT section.fenner2002-04-171-0/+1
|
* This adds support for -s to the m4(1) utility, which causes #line directivesjmallett2002-04-176-9/+82
| | | | | | | | | | to be emitted as per the C preprocessor. It updates the manual page in regards to standards accordingly. PR: standards/36075 Submitted by: tjr Reviewed by: mike MFC after: 1 week
* Use the new functionalities provided by the kenv(2) syscall.mux2002-04-173-66/+122
| | | | Reviewed by: peter
* Don't attempt to chflags(1) non-existent executable.ru2002-04-171-0/+2
|
* Remove unused #define.des2002-04-161-5/+0
|
* Drop maintainership of this, it serves no purpose.des2002-04-151-1/+0
|
* Fix to WARNS=2 level.obrien2002-04-153-25/+8
| | | | Tested by: AXP gcc 3.1
* Don't unnecessarily include bsd.own.mk.ru2002-04-151-1/+0
| | | | (This is apparently required in NetBSD).
* Style nits.ru2002-04-151-3/+2
|
* Don't unnecessarily include .mk files.ru2002-04-151-4/+1
|
* Remove malloc_type's ks_limit.jeff2002-04-151-71/+17
| | | | | | | | | | | | Updated the kmemzones logic such that the ks_size bitmap can be used as an index into it to report the size of the zone used. Create the kern.malloc sysctl which replaces the kvm mechanism to report similar data. This will provide an easy place for statistics aggregation if malloc_type statistics become per cpu data. Add some code ifdef'd under MALLOC_PROFILING to facilitate a tool for sizing the malloc buckets.
* PAMified passwd(1). Some NIS-related issues remain to be solved, but thisdes2002-04-152-286/+118
| | | | | | should work for everyday use. Sponsored by: DARPA, NAI Labs
* Skip zombies. Add an option (-z) to revert to the historical behaviourdes2002-04-142-0/+11
| | | | | of trying to kill zombies (which has no effect except emit a few error messages)
* Back out rev 1.17, it breaks dependencies.obrien2002-04-141-15/+11
| | | | | | | With rev 1.7 one cannot build src/bin/sh -- because make fails to create the buildtools before trying to use them. Actually it does compile the buildtools into .o's before trying to use them, but not all the way into binaries.
* Clean up the 1/2 a** committing from Thu, 3 May 2001 11:05:39 -0700 (PDT).obrien2002-04-142-4/+1010
| | | | | | | | | | | | | | Since then we have living with a GPL'ed find(1) due to grabbing getdate.y from src/contrib/cvs and its user of the GPL'ed xtime.h. I don't even want to think about how this could have affected people using our source base. Would it have been too much trouble to do then what I did now? Copied getdate.y (public domain) to usr.bin/find and change to use standard system headers. find(1) now compiles simply with out having to go to extra effort to do so. Pointed hat to: phk Build fixed on: gcc 3.1 using platforms
* Remove bogus dependency on rlogin.des2002-04-131-4/+3
|
* Warns cleanups:dwmalone2002-04-131-6/+9
| | | | | | | 1) Add missing initialisers. 2) Avoid shadowing rcswhich. 3) Use intmax_t and %j for printing rather than quad_t and %q. 4) Don't modify a variable twice between sequence points.
* Remove previously unneeded and now incorrect cast of user_from_uid()dwmalone2002-04-131-7/+7
| | | | | to a char *. Fix up vendor ID.
* Fix up vendor IDs.dwmalone2002-04-131-7/+10
| | | | Put a sequence point between writing to a variable and using it.
* Revision 1.17 seems to break a subsequent buildworld (i.e. with the newobrien2002-04-131-2/+5
| | | | | | | | | | | make installed) in gnu/usr.bin/groff/src/preproc/eqn (which, being a build tool itself, is built with the original make during buildworld). The problem seems to be that in str_concat(), the string is not terminated when the length of the second string is 0. This apparently can happen during null suffix rule processing. Submitted by: tmm
* Add some constness to make this WARNS clean again.dwmalone2002-04-131-3/+3
|
* Fix a minor lint warning.obrien2002-04-131-0/+2
|
* Prefer BSDmakefile over makefile and Makefile.obrien2002-04-135-7/+9
| | | | | Submitted by: jmallett Obtained from: OpenBSD
* Fix copyrights, and undo SCS ID damage.obrien2002-04-1321-30/+49
|
* Fix a missed conversion of lld to llu for the uint64_t ks_calls and castasmodai2002-04-131-6/+7
| | | | | | | | | | | to unsigned long long. Don't be too overzealous with the printing of ks_calls in the total statistics, cut back from 20 to 13 positions to print (which should last a couple of years easily (20 digits is enough for 3168 years of calls at a measly billion (10^9) calls per second.)). Submitted by: bde
* Update SCM ID method.obrien2002-04-1315-44/+16
|
* Make str_concat handle NULL arguments properly (a-la how ODE-2.3.6 make does).obrien2002-04-131-12/+13
| | | | | Submitted by: jmallett Inspired by: CMU BUILDTOOLS4 coredumping, ODE-2.3.6 make(1)
* De'register.obrien2002-04-1314-129/+128
|
* Constify str_concat()obrien2002-04-131-3/+3
| | | | Submitted by: jmallett
* Check to make sure fdopen() succeeds in make(1).obrien2002-04-131-0/+2
| | | | | Submitted by: jmallett Inspired by: NetBSD
* Do not print error message twice.charnier2002-04-122-6/+10
|
* .Ar filename ... is equivalent to .Ar.charnier2002-04-121-2/+2
|
OpenPOWER on IntegriCloud