summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add enough consts to keep everyone happy.dwmalone2002-07-281-1/+1
|
* Don't reuse a const char * when we really want a char *.dwmalone2002-07-281-5/+7
|
* Improve WARNS situation for kdump:dwmalone2002-07-281-45/+58
| | | | | | | | | | | | | 1) Define _KERNEL while including sys/time.h to get some function prototypes. 2) Add prototypes and ANSIify definitions. 3) Constness changes. 4) Remove register keyword. 5) Actually return a sensible value from main. 6) Make fread_tail take a void * instead of a char *. 7) Avoid a signedness warning by casting to a size_t. Should be safe enough 'cos we also check for nonnegativity. 8) Be extra chummy with sigset_t rather than passing a struct to printf and pretending it is an int.
* ANSIify function definitions to avoid a warning.dwmalone2002-07-289-54/+31
|
* The return value of snprintf should be always nonnegative, so it shoulddwmalone2002-07-281-1/+1
| | | | be safe to cast it to a size_t before comparing it to a sizeof().
* ANSIify function definitions to avoid a warning.dwmalone2002-07-282-39/+14
|
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-14/+7
| | | | Minor constness changes.
* ANSify function definitions to avoid a warning.dwmalone2002-07-281-10/+7
|
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-6/+3
|
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-4/+2
| | | | | PR: 38930 Submitted by: keramida
* ANSIify function definitions to avoid a warning.dwmalone2002-07-2810-46/+18
|
* ANSIify function definitions to avoid some warnings.dwmalone2002-07-281-11/+5
| | | | Include stdlib.h for exit.
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-30/+16
| | | | Minor constness changes.
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-7/+4
|
* Search the include path for the argument to -f, to make lives easier forjmallett2002-07-281-6/+13
| | | | | | | | | those of us who want to figure out how old Jim Mock is, but only want to type 'calendar -f calendar.freebsd'. This is done in a way that should be totally backwards compatible with no noticable differences, at all. Reviewed by: mux MFC after: 4 weeks
* Add a -v option that prevents switching virtual terminals while thisdd2002-07-282-13/+47
| | | | | terminal is locked. This permits the user to easily lock the entire console from a single terminal.
* Print a warning when we are given two scripts for one target. This is neitherjmallett2002-07-281-0/+4
| | | | | | | as wide-reaching nor intensive as NetBSD's similar, but the warning uses the same text. Inspired by: NetBSD
* Clarify J.S. Bach's life: he was only born once, and he died in Leipzig.grog2002-07-281-3/+3
| | | | Add entry for Antonio Vivaldi's death.
* Back out jmallett's realpath changes. They break a set of makefiles thatimp2002-07-261-0/+28
| | | | | | | | | we use in sublte ways with relative paths. Until they can be resolved, back out these changes and put a big comment about why using realpath is busted. Approved by: jmallett MFC After: 100 millifortnights
* Use sigaction(2) instead of signal(3) to avoid the signal handler beingtjr2002-07-261-3/+10
| | | | re-entered.
* Define all paths in pathnames.hjohan2002-07-252-2/+6
| | | | Approved by: joerg, sheldonh (mentor)
* Give an example showing how to change the mesg status of terminalstjr2002-07-251-0/+10
| | | | | | other than the default one. PR: 13073
* style(9): - Put a space after the 'return' keyword.robert2002-07-241-5/+7
| | | | - Wrap lines longer than 80 characters.
* Use an ANSI-C function definition rather than arobert2002-07-241-3/+1
| | | | K&R one to avoid a warning.
* - Add a COMPATIBILITY section explaining that the defaultrobert2002-07-241-2/+12
| | | | | | | | | | behaviour of obtaining the affected terminal has changed. - Refer to the user's terminal instead of the current terminal session. - Tell the reader what the utility does when it is invoked without arguments. Submitted by: johan
* Allow selection of the affected terminal using redirectionrobert2002-07-242-1/+10
| | | | | | of standard input or standard output, like mesg(1) does. Suggested by: sheldonh
* Teach whereis(1) about games.johan2002-07-243-5/+9
| | | | Approved by: joerg, sheldonh (mentor)
* Widen struct sockbuf's sb_timeo member to int from short. Withjdp2002-07-248-13/+13
| | | | | | | | | | | | | non-default but reasonable values of hz this member overflowed, breaking NFS over UDP. Also, as long as I'm plowing up struct sockbuf ... Change certain members from u_long/long to u_int/int in order to reduce wasted space on 64-bit machines. This change was requested by Andrew Gallatin. Netstat and systat need to be rebuilt. I am incrementing __FreeBSD_version in case any ports need to change.
* Revert previous delta for cut(1) and calendar(1) as they were not appliedtrhodes2002-07-232-3/+11
| | | | correctly. My fault, forgot that -current was checked out.
* Remove duplicate __FBSDID() - spotted by trying to build with a non-GNUjmallett2002-07-231-3/+0
| | | | compiler.
* Dependencies are delimited by space not tab.ru2002-07-231-2/+2
|
* Handle directories correctly.eric2002-07-231-3/+6
| | | | | PR: 40801 MFC after: 5 days
* Revert last commit. Sorry for breaking thingstrhodes2002-07-221-10/+10
|
* MFC: Fix some grammar, greater reduce diffs to HEADtrhodes2002-07-223-21/+13
|
* add -4 and -6 option to be able to specify an address family.ume2002-07-223-4/+22
| | | | | Requested by: matusita MFC after: 1 week
* - Use MAXLOGNAME - 1 rather than UT_NAMESIZE.robert2002-07-221-3/+2
| | | | - Remove the inclusion of <utmp.h>.
* - Use MAXLOGNAME - 1 instead of UT_NAMESIZE.robert2002-07-221-11/+5
| | | | - Do not pretend there is something like '/etc/utmp'.
* Correct syntax error, remove the unescaped newline between "||" and thetjr2002-07-221-4/+2
| | | | | | | command it is intended to test. pdksh and bash caught this syntax error, sh(1) did not behave as intended. PR: 40386
* Fixed improper SCRIPTS assignment that broke `clean'.ru2002-07-211-1/+1
|
* Only use one %s when there is only one argument to print.johan2002-07-211-1/+1
| | | | | Submitted by: keramida Approved by: sheldonh (mentor)
* Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc,charnier2002-07-2114-209/+244
| | | | | | | | xstrdup. There is a crash() function that do cleaning before exiting the program. The new functions are wrappers that make use of crash() in case of allocation failure. warn, exit -> err. Reviewed by: alfred
* s/A last utility last appeared/A last utility appeared/ (horikawa).charnier2002-07-211-4/+8
| | | | | | Use .Pa for wtmp. Submitted by: horikawa
* Add the tcps_sndrexmitbad statistic, keep track of late acks that causeddillon2002-07-191-0/+2
| | | | unnecessary retransmissions.
* Merge conflicts.markm2002-07-194-42/+50
|
* This commit was generated by cvs2svn to compensate for changes in r100360,markm2002-07-192-10/+3
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Snapshot of NetBSD's (x)lint. Little functionality, just some codemarkm2002-07-197-46/+53
| | | | | | | | tidy-ups.
* | s/inline/__inline/markm2002-07-192-6/+6
| |
* | Merge from import. The import was done ages ago, and this diff has beenmarkm2002-07-191-153/+199
| | | | | | | | carried since then.
* | s/inline/__inline/markm2002-07-196-6/+6
| |
* | "inline" fixing. Replace "inline" with "__inline" to make more BSDmarkm2002-07-1910-44/+52
| | | | | | | | | | | | standard (and easier to define away with support in cdefs.h). Also convert two function-like macros to static inline functions for lint and the debugger.
OpenPOWER on IntegriCloud