summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove done() which was just exit() so use of warn()/err() can be made. Abortcharnier2002-10-1620-198/+238
| | | | | | | on allocation failure instead of displaying a warning and deferencing NULL pointer after. Spelling. Add prototypes. Add list of option in synopsis section of man page, -d is not referenced because available as a compile option. It should be made a runtime option btw.
* Add locale(1). I have used it for while as useful debugging toolphantom2002-10-162-0/+220
| | | | | | | | for locale related things. So, I think it could be useful for others. It's not yet implement (or implement in different manner) all POSIX things, but I think it's good enough for start. POSIX conformance related updates and manpage to follow relatively soon.
* Normalize FILES section by using .Bl/.El enumerate.charnier2002-10-161-1/+3
|
* Test getopt() against -1 instead of EOF.charnier2002-10-161-3/+2
|
* Spelling.charnier2002-10-162-28/+32
|
* Do not repeat option name in its definition. Use .Nm. In the sequence ``~.'',charnier2002-10-162-44/+34
| | | | | | ``.'' is not a sentence termination, it must be escaped to be put inside quotes. Abort if execv() fails by adding err(). Do not dot terminate error messages.
* Be consistent about functions being static.phk2002-10-151-4/+4
| | | | Spotted by: FlexeLint
* Add information about the SDLT density codes.joerg2002-10-152-0/+7
| | | | | Submitted by: "Stewart MacLund" <sundie@lunaticfringe.org> MFC after: 1 week
* Remove an unused variable.phk2002-10-141-2/+0
|
* Add Big5, MSKanji and UTF-8 to the list of supported encodings.tjr2002-10-141-10/+29
| | | | Mark UTF2 as being deprecated.
* Clarify that a number of incidents relate to Germany.grog2002-10-141-15/+14
| | | | | | This file contains a number of incidents which do not related to Germany. It's not clear whether they should remain or not, so I have left them.
* Add self.anders2002-10-121-0/+1
|
* The -a and -d flags are mutually exclusive, show them as such in usage() andjmallett2002-10-122-2/+6
| | | | | | | manual page for showmount(8) Sponsored by: Bright Path Solutions MFC after: 2 weeks
* Clarify details of the birth of Richard I of England.grog2002-10-121-1/+1
|
* Change iov_base's type from `char *' to the standard `void *'. Allmike2002-10-111-1/+1
| | | | | uses of iov_base which assume its type is `char *' (in order to do pointer arithmetic) have been updated to cast iov_base to `char *'.
* Add myself.cognet2002-10-111-0/+1
| | | | Reviewed by: mux (mentor)
* Groff 1.18.1 comes in with ANSI color support, enabled by default.ru2002-10-111-1/+1
| | | | | | | | | | | | | | In "nroff" mode, italic font renders as an underlined text, which makes it indistinguishable from the bold text on color monitors (cons25 terminal type), yet it requires the less(1)'s -R option. (Refer to the new grotty(1) manpage for details.) So turn off the color support for now (when generating catpages), until we figure out what do we do with this new feature. I have a patch for grotty(1) that tells it to use the "reverse video" attribute to render the italic font. Once this is accepted, we can turn color support back on (if there won't be any objections from the community).
* Move utilitarian routines to util.c, which isn't the same as the oldjmallett2002-10-104-234/+288
| | | | | | compatability-geared util.c. These are things like message printers and the PrintAddr function for traversing lists. Other general-purpose utilities inside make(1) can go here, in time.
* Convert make(1) to use ANSI style function declarations. Variablejmallett2002-10-0915-771/+340
| | | | | | | | | | | documentation already adequatedly existed in the description in most cases. Where it did not, it was added. If no documentation existed beforehand, then none was added. Some unused dummies for use in the traversal functions were marked as __unused during the conversion. Occasionally, local style fixes were applied to lines already being modified or influenced. Now make(1) should always build with WARNS=3.
* Use __FBSDID in the lst.lib files, to match to main make(1) files. It isjmallett2002-10-0926-26/+26
| | | | | defined to __RCSID when bootstrapping, by the Makefile, but this change is for consistency
* Remove extern declarations from functions and source files where they wouldjmallett2002-10-094-3/+4
| | | | happily fit into headers.
* Remove unused local-locals, where upper-level locals may safely be used.jmallett2002-10-091-8/+8
|
* Reference the correct local variable in all parts of a for loop, so wejmallett2002-10-081-1/+1
| | | | | | operate on the correct data (properly). Tracked down by: Dan Nelson
* Re-add the code which maps POSIX standard library names into the onestjr2002-10-081-4/+49
| | | | FreeBSD uses; f.e. -lpthread -> -pthread, -lxnet -> nothing.
* Add the c99(1) utility, which is nothing more than a synonym fortjr2002-10-074-0/+277
| | | | | | cc -std=iso9899:1999 -pedantic, and is required by SUSv3. PR; 36087
* Use strlcpy() instead of strcpy() to not overflow static buffers.kris2002-10-061-2/+6
|
* Don't depend on <signal.h> to include <sys/time.h>, instead includemike2002-10-062-0/+2
| | | | | <sys/time.h> directly. This is mostly bogus since CLOCK_REALTIME should be defined in <time.h>, which these files already include.
* Give make(1) the ability to use KQUEUE to wait for worker processesphk2002-10-043-1/+57
| | | | | | | | | instead of polling for them. Unfortunately we cannot enable it yet because it panics the kernel somewhere in kqueue. Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
* Fix off-by-one error processing the line after an empty line when thetjr2002-10-041-0/+1
| | | | | | | -a option is not specified. Submitted by: schweikh MFC after: 1 week
* Actually implement gzip's -c option. minigzip now also doublesjohan2002-10-031-2/+9
| | | | | | | | | | | as zcat properly. PR: 13043 Submitted by: Toshihiko ARAI <toshi@jp.freebsd.org> Jonathan Towne <jontow@twcny.rr.com> Approved by: peter, sheldonh (mentor) MFC After: 2 weeks
* In lieu of a good way to prevent every possible looping in make(1), stopjmallett2002-10-031-0/+21
| | | | | | | | | there from being more than 500 processes forked by make(1), to prevent a forkbomb from happening, in a dumb and mechanical way. PR: alane Submitted by: bin/42772 MFC after: 2 weeks
* Catch up to SMTX -> SLOCK changes.jhb2002-10-021-5/+5
|
* Code that has been #if0'd with the comment "WHY" since revision 1.1 canjmallett2002-10-021-8/+1
| | | | disappear.
* Remove 6-years-stale #if0, the behaviour isn't ever going to be limited tojmallett2002-10-021-5/+1
| | | | compatible mode, as far as I know, since we use it...
* Teach ncal(1) about month names specified on the command line.roam2002-10-022-3/+24
| | | | | | Reviewed by: -audit Approved by: silence on -audit MFC after: 3 weeks
* Remove some #if 0'd code. After this, a "make unifdef" here producesdd2002-10-021-41/+0
| | | | | | no changes (against crypto telnet). Reviewed by: MD5
* Merge from crypto telnet: permit the argument to -s to be a hostname.dd2002-10-021-1/+0
|
* Fix spurious three-space indentation in a four-space indentation file.jmallett2002-09-291-2/+2
|
* Fix ability to use csh(1) as the make(1) shell.jmallett2002-09-291-1/+3
| | | | Sponsored by: Bright Path Solutions
* Make make(1) WARNS=6 clean except for const issues. This mostly involvesjmallett2002-09-287-69/+69
| | | | | | | | | | | renaming variables to not shadow libc functions or greater scope locals. Kinda makes one wonder if the extern ones weren't meant in some of these places :) The only thing I'd still like to do WRT this is possibly combine rstat and status in compat.c -- that should be fine, as I do not think the codepaths will want both around at once. Sponsored by: Bright Path Solutions
* Fix merge error in previous commit.jmallett2002-09-281-1/+1
| | | | Sponsored by: Bright Path Solutions
* Add empty default cases where they should be, remove non-local execution stuffjmallett2002-09-289-14/+36
| | | | | | | | | | in compat.c which doesn't even have preprocessor-conditional-hidden support code, and add a debugging statement where we might end up with a nil list somehow, but where I doubt it. First confirmed userland kill for Flexelint. Sponsored by: Bright Path Solutions
* Rename struct specinfo to the more appropriate struct cdev.phk2002-09-271-2/+2
| | | | Agreed on: jake, rwatson, jhb
* Document the parsing bug.ru2002-09-271-1/+13
|
* Remove a semicolon that appears to be a lie.jmallett2002-09-261-1/+1
| | | | | Spotted by: SPARC64 make WARNS=3 Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
* When formatting the time for a target, use %H instead of %k, which is mostlyjmallett2002-09-261-1/+1
| | | | | | the same, but uses a non-extension option. Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
* Don't declare things as extern when they will be static.jmallett2002-09-261-1/+6
| | | | Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
* Unifdef(1) the crypto telnet sources.markm2002-09-256-8/+8
|
* The spec says that unifdefall removes all #ifs, and this now requiresfanf2002-09-241-2/+2
| | | | the -k flag to unifdef.
* The readability is improved by reducing the use of the passive voice.fanf2002-09-241-10/+10
| | | | No changes to the meaning are made.
OpenPOWER on IntegriCloud