Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add enough consts to keep everyone happy. | dwmalone | 2002-07-28 | 1 | -1/+1 |
| | |||||
* | Don't reuse a const char * when we really want a char *. | dwmalone | 2002-07-28 | 1 | -5/+7 |
| | |||||
* | Improve WARNS situation for kdump: | dwmalone | 2002-07-28 | 1 | -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. | dwmalone | 2002-07-28 | 9 | -54/+31 |
| | |||||
* | The return value of snprintf should be always nonnegative, so it should | dwmalone | 2002-07-28 | 1 | -1/+1 |
| | | | | be safe to cast it to a size_t before comparing it to a sizeof(). | ||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 2 | -39/+14 |
| | |||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 1 | -14/+7 |
| | | | | Minor constness changes. | ||||
* | ANSify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 1 | -10/+7 |
| | |||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 1 | -6/+3 |
| | |||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 1 | -4/+2 |
| | | | | | PR: 38930 Submitted by: keramida | ||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 10 | -46/+18 |
| | |||||
* | ANSIify function definitions to avoid some warnings. | dwmalone | 2002-07-28 | 1 | -11/+5 |
| | | | | Include stdlib.h for exit. | ||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 1 | -30/+16 |
| | | | | Minor constness changes. | ||||
* | ANSIify function definitions to avoid a warning. | dwmalone | 2002-07-28 | 1 | -7/+4 |
| | |||||
* | Search the include path for the argument to -f, to make lives easier for | jmallett | 2002-07-28 | 1 | -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 this | dd | 2002-07-28 | 2 | -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 neither | jmallett | 2002-07-28 | 1 | -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. | grog | 2002-07-28 | 1 | -3/+3 |
| | | | | Add entry for Antonio Vivaldi's death. | ||||
* | Back out jmallett's realpath changes. They break a set of makefiles that | imp | 2002-07-26 | 1 | -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 being | tjr | 2002-07-26 | 1 | -3/+10 |
| | | | | re-entered. | ||||
* | Define all paths in pathnames.h | johan | 2002-07-25 | 2 | -2/+6 |
| | | | | Approved by: joerg, sheldonh (mentor) | ||||
* | Give an example showing how to change the mesg status of terminals | tjr | 2002-07-25 | 1 | -0/+10 |
| | | | | | | other than the default one. PR: 13073 | ||||
* | style(9): - Put a space after the 'return' keyword. | robert | 2002-07-24 | 1 | -5/+7 |
| | | | | - Wrap lines longer than 80 characters. | ||||
* | Use an ANSI-C function definition rather than a | robert | 2002-07-24 | 1 | -3/+1 |
| | | | | K&R one to avoid a warning. | ||||
* | - Add a COMPATIBILITY section explaining that the default | robert | 2002-07-24 | 1 | -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 redirection | robert | 2002-07-24 | 2 | -1/+10 |
| | | | | | | of standard input or standard output, like mesg(1) does. Suggested by: sheldonh | ||||
* | Teach whereis(1) about games. | johan | 2002-07-24 | 3 | -5/+9 |
| | | | | Approved by: joerg, sheldonh (mentor) | ||||
* | Widen struct sockbuf's sb_timeo member to int from short. With | jdp | 2002-07-24 | 8 | -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 applied | trhodes | 2002-07-23 | 2 | -3/+11 |
| | | | | correctly. My fault, forgot that -current was checked out. | ||||
* | Remove duplicate __FBSDID() - spotted by trying to build with a non-GNU | jmallett | 2002-07-23 | 1 | -3/+0 |
| | | | | compiler. | ||||
* | Dependencies are delimited by space not tab. | ru | 2002-07-23 | 1 | -2/+2 |
| | |||||
* | Handle directories correctly. | eric | 2002-07-23 | 1 | -3/+6 |
| | | | | | PR: 40801 MFC after: 5 days | ||||
* | Revert last commit. Sorry for breaking things | trhodes | 2002-07-22 | 1 | -10/+10 |
| | |||||
* | MFC: Fix some grammar, greater reduce diffs to HEAD | trhodes | 2002-07-22 | 3 | -21/+13 |
| | |||||
* | add -4 and -6 option to be able to specify an address family. | ume | 2002-07-22 | 3 | -4/+22 |
| | | | | | Requested by: matusita MFC after: 1 week | ||||
* | - Use MAXLOGNAME - 1 rather than UT_NAMESIZE. | robert | 2002-07-22 | 1 | -3/+2 |
| | | | | - Remove the inclusion of <utmp.h>. | ||||
* | - Use MAXLOGNAME - 1 instead of UT_NAMESIZE. | robert | 2002-07-22 | 1 | -11/+5 |
| | | | | - Do not pretend there is something like '/etc/utmp'. | ||||
* | Correct syntax error, remove the unescaped newline between "||" and the | tjr | 2002-07-22 | 1 | -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'. | ru | 2002-07-21 | 1 | -1/+1 |
| | |||||
* | Only use one %s when there is only one argument to print. | johan | 2002-07-21 | 1 | -1/+1 |
| | | | | | Submitted by: keramida Approved by: sheldonh (mentor) | ||||
* | Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc, | charnier | 2002-07-21 | 14 | -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). | charnier | 2002-07-21 | 1 | -4/+8 |
| | | | | | | Use .Pa for wtmp. Submitted by: horikawa | ||||
* | Add the tcps_sndrexmitbad statistic, keep track of late acks that caused | dillon | 2002-07-19 | 1 | -0/+2 |
| | | | | unnecessary retransmissions. | ||||
* | Merge conflicts. | markm | 2002-07-19 | 4 | -42/+50 |
| | |||||
* | This commit was generated by cvs2svn to compensate for changes in r100360, | markm | 2002-07-19 | 2 | -10/+3 |
|\ | | | | | | | which included commits to RCS files with non-trunk default branches. | ||||
| * | Snapshot of NetBSD's (x)lint. Little functionality, just some code | markm | 2002-07-19 | 7 | -46/+53 |
| | | | | | | | | tidy-ups. | ||||
* | | s/inline/__inline/ | markm | 2002-07-19 | 2 | -6/+6 |
| | | |||||
* | | Merge from import. The import was done ages ago, and this diff has been | markm | 2002-07-19 | 1 | -153/+199 |
| | | | | | | | | carried since then. | ||||
* | | s/inline/__inline/ | markm | 2002-07-19 | 6 | -6/+6 |
| | | |||||
* | | "inline" fixing. Replace "inline" with "__inline" to make more BSD | markm | 2002-07-19 | 10 | -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. |