summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Improved incorrect usage diagnostics.ru2004-03-171-2/+6
|
* Trust bsd.prog.mk to set SRCS correctly.ru2004-03-171-1/+0
|
* GC unnecessary include file.ru2004-03-172-38/+0
|
* Approved by: mat (mentor).thierry2004-03-161-0/+1
|
* Catch up with the removal of the wt(4) driver.ru2004-03-141-16/+0
|
* Add multiple inclusion guards. Mostly this is for extern.h, which wasjmallett2004-03-143-1/+10
| | | | | | | included twice by lprint.c, which included both finger.h and extern.h. finger.h, in turn, includes extern.h. The redundant include of extern.h was removed from lprint.c, as part of this change, but the include guards were added anyway out of spite.
* Fixed misspellings of 0 as NULL. Fixed some nearby style bugs.bde2004-03-141-1/+2
|
* Fixed a misspelling of 0 as NULL.bde2004-03-142-2/+2
|
* With the passing of the asc driver, the sasc prograqm is no longerimp2004-03-146-374/+0
| | | | necessary.
* Do not print a warning about net.inet.pim.stats if errno isdes2004-03-121-1/+2
| | | | | | | ENOENT, because that means we do not have PIM in the kernel. Submitted by: hmp MFC after: 1 week
* Fixed a misspelling of 0 as NULL.bde2004-03-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Fixed a nearby bug. The "play it safe" code in dosysctl() was unsafe because it overran the buffer by 1 if sysctl() filled all of the buffer. Fixed a nearby style bug in output. Not just 1, but 2 extra newlines were printed at the end by "vmstat -m" and "vmstat -z". Don't print any newlines explicitly. This depends on 2 of the many formatting bugs in the corresponding sysctls. First, the sysctls return an extra newline at the end of the strings. This also messes up output from sysctl(8). Second, the sysctls return an extra newline at the beginning of the strings. This is good for separating the 2 tables output by "vmstat -mz" and for starting the header on a new line in plain sysctl output, but gives a bogus extra newline at the beginning for "vm -[m | z]" and "sysctl -n [kern.malloc | vm.zone]". Fixed some nearby style bugs in the source code: - the same line that misspelled 0 as NULL also spelled NULL as 0. - the size was doubled twice in the realloc loop. - the "play it safe" comment was misleading. Terminating the buffer is bogus because dosysctl() is only meant to work with sysctls that return strings and the terminator is part of a string. However, the kern.malloc sysctl has more than style bugs. It also doesn't return a string. Termination is needed to work around this bug.
* Replace <iostream.h> with <iostream> to remove annoying warningjosef2004-03-111-13/+13
| | | | | | | | | of using deprecated header. Approved by: dwhite, simon(mentor) Reviewed by: mlaier Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> PR: bin/63781
* Fixed a misspelling of '\0' as NULL.bde2004-03-111-1/+1
|
* Fixed misspellings of 0 as NULL.bde2004-03-111-3/+3
|
* Fixed misspellings of '\0' as NULL.bde2004-03-111-4/+4
|
* Fixed a misspelling of 0 as NULL.bde2004-03-111-1/+1
|
* Reworked the fix to print the useful line number on error inru2004-03-103-89/+79
| | | | | | | | | | | the .for loop: - Replaced four global variables in parse.c with one. - Made Parse_FromString() accept the "lineno" as an argument. - Fixed line numbering when there are escaped newlines in the body of the .for loop. Adopted from: NetBSD
* Another April Fool signs up.peadar2004-03-101-0/+1
|
* Make it possible to ``.undef ${VAR}'' (expanding VAR to getru2004-03-091-0/+1
| | | | | | the variable name to undef). Submitted by: Cyrille Lefevre
* Fix the easy warnings:dwmalone2004-03-096-40/+27
| | | | | | | | | 1) Avoid shadowing index. 2) Constness. 3) Missing prototype for ifcmd. 4) Missing include of string.h. 5) Avoid shadowing error function. 6) ANSI definition for main.
* Misc fixes brought to light by WARNS=6:dwmalone2004-03-091-14/+17
| | | | | | | | 1) Constness, unusedness and size_tness. 2) Don't clobber the value returned by hid_report_size in the daemon case. 3) Don't misspell "sizeof buf" as 100. 4) Don't run off the end of a buffer if the pid is about a google. 5) Avoid shadowing the usage function.
* Fixed line numbering inside the .for loops.ru2004-03-091-1/+3
| | | | Submitted by: Cyrille Lefevre
* These aren't all binary options.mikeh2004-03-091-1/+1
|
* Make it possible for the %[eEfgG] formats to not result in an errorcperciva2004-03-071-1/+1
| | | | | | | | | | being reported by /usr/bin/printf. This bug has been around for 22 months... either nobody uses printf with floating-point values, or people are forgetting to check their return codes. Approved by: rwatson (mentor)
* Fix markup.des2004-03-061-7/+6
| | | | Submitted by: ru
* Hook logins(1) up to the build.des2004-03-061-0/+1
|
* Add a logins(1) utility similar to that found in SVr4 derivatives. Thisdes2004-03-063-0/+519
| | | | particular implementation is based on the Solaris logins(1) man page.
* Assign checkmode boolean earlier to handle the goto jump.mikeh2004-03-061-1/+1
| | | | Might fix PR bin/63769.
* Use getopt instead of hand-rolled argument parsing. Usage remainswes2004-03-051-72/+15
| | | | | | | | the same, no man page changes required. PR: bin/48313 Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> Reviewed by: joe@
* Update URL of GCC status page to GCC 3.3josef2004-03-041-1/+1
| | | | | | Approved by: simon(mentor) Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> PR: docs/63370
* Typo fix.blackend2004-03-031-1/+1
| | | | | | PR: docs/63677 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> MFC after: 1 week
* Elf_Phdr.p_type 7 is "PT_TLS".jake2004-03-021-1/+1
|
* Add the -e (mail presence test), -H (header summary mode), and -Fmikeh2004-02-296-14/+183
| | | | | | | | (message save as first recipient) options for standards conformance. Submitted by: Wartan Hachaturow <wart@tepkom.ru> (with some changes) PR: standards/61934
* Fix grammar bogon.schweikh2004-02-291-1/+1
|
* Fixed style bugs in previous commit (.ifndef instead of .if defined(),bde2004-02-291-3/+2
| | | | | | and tab lossage). Garbage-collected NEED_LIBNAMES.
* Update the find manual page:trhodes2004-02-271-1/+14
| | | | | | | | | | 1: Document -follow under COMPATIBILITY. 2: Update an example to be a little more 'safe'. 3: Use '/' in place of '.' for an example; similar to other manual pages. PR: 40196 (1), 39532 (2, 3) Submitted by: Marc Silver <marcs@draenor.org> (2 and 3) Discussed with: des (1)
* I am a moron.des2004-02-271-1/+1
|
* Re-add the setuid bit, conditional on NO_SETUID_LOGIN being undefined.des2004-02-271-0/+5
|
* Remove EXAMPLES section which duplicates text in fetch(3).des2004-02-271-22/+0
|
* Cut through the bikeshed and remove login(1)'s setuid bit. It has nodes2004-02-271-3/+0
| | | | | business trying to impersonate su(1), and it does not need to be setuid to function properly when invoked by getty(8) or telnetd(8).
* Use the -H option instead of the deprecated -follow predicate.des2004-02-251-1/+1
|
* Demangled vendor ids. Fixed misplaced FreeBSD id.bde2004-02-251-6/+9
|
* Backed out rev.1.6. A bogus include was added to work around breakage ofbde2004-02-251-2/+0
| | | | | | <netinet/tcp_var.h>'s prerequisites. Prerequistes should not grow for userland headers, and <netinet/tcp_var.h> is unfortunately still needed in userland.
* Send birthday presents to Wadham College, Oxford. :)cperciva2004-02-241-0/+1
| | | | Approved by: rwatson (mentor)
* Add my birthday.markus2004-02-231-0/+1
| | | | Approved by: arved (mentor)
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Typo.des2004-02-231-1/+1
|
* Use %zu for size_t, like God intended.des2004-02-181-1/+1
|
* Fix printf() format bug in previous commit (size_t != int).des2004-02-181-17/+19
| | | | | | | Use %ju and an (uintmax_t) cast to print size_t values. Use %jd and an (intmax_t) cast to print off_t values. Use off_t variables to hold the difference between two off_t values. Don't bother with unsigned char where char will do nicely.
* Revamp the statistics code, and switch to a much more compact displaydes2004-02-181-48/+56
| | | | | format. The old code tried to produce the exact same output as the pre-libfetch implementation, but I no longer see any value in this.
OpenPOWER on IntegriCloud