summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Modify rpcgen -t output to something that's a lot more useful inalfred2005-02-021-6/+9
| | | | | | | | | | | | | today's modern "no sir, not today" compilers. Basically, when building the table: use NULL instead of 0, use braces around array initializers, case the function pointers to xdrproc_t, don't cast function pointers that do not need casting. MFC After: 1 week
* Make enomem static - it's referenced only in util.c.harti2005-02-022-2/+3
| | | | Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Remove a couple of unused buffer functions.harti2005-02-022-158/+0
| | | | Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Convert several typedefs from beeing pointers to structs to be the structsharti2005-02-0211-88/+95
| | | | | | | itself. This will ease constification (think of what 'const Ptr foo' means if Ptr is a pointer to a struct). Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Avoid unconditional increasing of variable leading to SIGSEGV, if req'dphantom2005-02-011-1/+1
| | | | parameter for -lang is missing.
* Move all the remaining list functions into one C-file and removeharti2005-02-0113-977/+482
| | | | | | | double documentation comments. Remove the 3rd clause (from 4) of the BSD license because these files have only the UCB copyright. Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Remove debugging stuff that crept in in the previous commit.harti2005-02-011-5/+0
|
* Clean up include files and file including. Split nonints.h into piecesharti2005-02-0149-628/+1372
| | | | | | | | | | | | | that get included just where they are needed. All headers include the headers that they need to compile (just with an empty .c file). Sort includes alphabetically where apropriate and fix some duplicate commenting for struct Job, struct GNode and struct Shell by removing one version and inlining the comments into the structure declaration (the comments have been somewhat outdated). This patch does not contain functional changes (checked with md5). Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Add text about jail root directory as well.phk2005-01-301-5/+6
| | | | Submitted by: "Mark W. Krentel" <krentel@dreamscape.com>
* Report jail directory if set.phk2005-01-291-0/+15
| | | | | | | Sanity-check fd_lastfile. PR: 62699 Patch by: "Mark W. Krentel" <krentel@dreamscape.com>
* Clean up after utilizing FILES.ru2005-01-281-6/+3
|
* Let bsd.prog.mk set SRCS and MAN to their default values.ru2005-01-2810-12/+0
|
* Update kdump manual page with information on the dump format.gnn2005-01-281-1/+62
| | | | | | | Add a table with the different types of operations traced. Reviewed by: Ruslan Ermilov Approved by: Robert Watson (mentor)
* Remove unnecessary SRCS= where could be guessed directly by ourdelphij2005-01-275-5/+0
| | | | | | bsd.*.mk infrasture. Obtained from: ru
* Fix quoting of the MAKEFLAGS environment variable by only quoting spacesharti2005-01-265-11/+146
| | | | | | | | | | and tabs. This is still not correct for command line variable values ending in a backslash because this would require a larger effort. Document this limitation in the BUGS section of the man page. The quoting is mostly compatible with that of gmake and smake. Tested by: Max Okumoto and Joerg Sonnenberger from DragonFly BSD Reviewed by: ru (man page, partly)
* Correct some style nits that I have mistakenly submitted asdelphij2005-01-261-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | suggestions which result in the last revision[*]: - style(9) and sysexits(3) suggests that we use EX_* as exit values, instead of some other values like those returned from a system call as errno. Additionally, follow Ruslan's suggestion about style(9) and other style improvements: - Since open(2) says that it returns -1 on errors, explicitly determine whether it is returning -1 rather than whether the return value is less than zero. - Only set rval when there is no previous error. This distinguishes the first error that occours. - Use exit() in favor of return in main(), this is suggested in old style(9), while the evolve has fade the suggestion. - Add some NOTREACHED comments. - Add blank line after first { because no local variables in usage() Thanks to Ruslan for his tireless explaining of the code standards and knowledge of the history of style(9). [*] Pointy hat to: me Submitted by: ru (with some minor changes) Discussed with: ru, ssouhlal
* Document the recent fsync(1) changes.ssouhlal2005-01-261-1/+6
| | | | | | Requested by: delphij Reviewed by: simon, ru Approved by: grehan (mentor)
* In case of error, return errno, instead of 1.ssouhlal2005-01-261-2/+3
| | | | | | Suggested by: delphij Reviewed by: delphij Approved by: grehan (mentor)
* Document input line length limit.tjr2005-01-254-4/+20
|
* Document message length limit.tjr2005-01-251-1/+3
|
* - Make WARNS?= 6 cleanssouhlal2005-01-252-0/+3
| | | | | | - Add WARNS?= 6 Approved by: stefanf, grehan (mentor)
* - Remove useless includesssouhlal2005-01-252-2/+1
| | | | | | | - Add WARNS?= 6 to Makefile Submitted by: Liam J. Foy <liamfoy@gmail.com> Approved by: grehan (mentor)
* - Continue, in case of error.ssouhlal2005-01-252-7/+15
| | | | | | | - Add WARNS?= 6 Submitted by: Liam J. Foy <liamfoy@gmail.com> Approved by: stefanf, grehan (mentor)
* - Make find(1) WARNS?= 6 cleanssouhlal2005-01-252-3/+3
| | | | | | - Bump to WARNS?= 6 Approved by: stefanf, grehan (mentor)
* Take a swing at using roundup().jmallett2005-01-251-3/+4
|
* spell "file system" correctlycharnier2005-01-241-1/+1
| | | | Approved by: ru
* According to style.Makefile(5):delphij2005-01-231-2/+4
| | | | | | WARNS?= should appear before CFLAGS Reviewed by: ru
* Make sure that we don't define INET6 when NO_INET6 is defined.delphij2005-01-221-0/+2
| | | | | | | | Without this change, when running netstat with a kernel without INET6 built in, you will get a complain at the end of "netstat -s" output. X-MFC: NO_INET6 was called "NOINET6" on RELENG_5
* Removed remnants of Kerberos support.ru2005-01-212-24/+6
|
* Removed Kerberos remnants.ru2005-01-212-39/+2
|
* Fixed xref.ru2005-01-212-2/+2
|
* Use the standard section name.ru2005-01-181-1/+1
|
* Sort sections.ru2005-01-1866-511/+511
|
* If su(1) is run without an effective uid of 0, generate an error torwatson2005-01-171-3/+33
| | | | | | | | | the user indicating that su is not running setuid, which may help suggest to the user that it should be setuid, or should not be running from a file system mounted nosuid. Suggsted by: Ivan Voras <ivoras at fer dot hr> MFC after: 2 weeks
* Cleanup:delphij2005-01-172-17/+18
| | | | | - Change signedness of nxtfld() to make msgs(1) WARNS=6 clean - Add several static's
* Bump WARNS=6 by adding const constraint and initialize the pointerdelphij2005-01-172-2/+3
| | | | to NULL at start.
* Added the EXIT STATUS section where appropriate.ru2005-01-1779-81/+83
|
* Eliminate macro calls inside literal displays.ru2005-01-152-10/+6
|
* Markup nit.ru2005-01-151-2/+1
|
* Fix off-by-one error.stefanf2005-01-141-1/+1
|
* Don't reprint file names unnecessarily.brian2005-01-121-4/+4
| | | | | | PR: 75028 Submitted by: mteterin at 250-217 dot customer dot cloud9 dot net MFC after: 7 days
* Get the vnode from file.f_vnode instead of file.f_data.ssouhlal2005-01-111-2/+2
| | | | | | | | | | | Nowadays, f_data points to the vnode only if the underlying filesystem doesn't use it for other purposes (devfs uses it to store the cdev, for example). Found by: csjp Reviewed by: csjp Approved by: phk, wes, grehan (mentor) MFC after: 1 week
* Scheduled mdoc(7) sweep.ru2005-01-119-19/+18
|
* Formatting fixes.ru2005-01-111-9/+11
| | | | (This exposes a bug in mdoc(7) for which a patch has been sent upstream.)
* Bump WARNS to 4 as this seems OK on the alpha now.dwmalone2005-01-101-1/+1
|
* Cast size_t to off_t before adding them to avoid warnings on the alpha.dwmalone2005-01-102-4/+6
| | | | Use %ld and intmax_t for printing an off_t.
* Some variables became unused or global in the last change to thisdwmalone2005-01-101-9/+5
| | | | | | | file. Remove the now redundant declarations. Add declarations for the new show and set_events functions and make them static.
* Use 64bit 'fts_bignum' field instead of 32bit (on 32bit archs) fieldpjd2005-01-071-11/+13
| | | | | | | | | | | | 'fts_number' to remember number of blocks. This makes du(1) 64bit-clean. This work is part of the BigDisk project: http://www.FreeBSD.org/projects/bigdisk/ Discussed on: arch@ MFC after: 5 days
* Fix a typo in comment.cognet2005-01-051-1/+1
| | | | Reviewed by: mux (mentor)
* evise use of queue(9) macros for netipx when used from userspace:rwatson2005-01-021-11/+5
| | | | LIST_FOREACH() is difficult to use correctly, so don't try to.
OpenPOWER on IntegriCloud