Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use timespec not timeval. | mdodd | 2002-08-05 | 3 | -15/+24 |
| | |||||
* | Ported to sparc64. | jake | 2002-08-04 | 4 | -5/+372 |
| | |||||
* | Include <sys/time.h> for the declaration of struct timeval. Do not | bde | 2002-08-04 | 7 | -0/+7 |
| | | | | | | depend on namespace pollution in <signal.h>. (truss shouldn't be using timevals anyway, since it was implemented long after timevals were obsoleted by timespecs.) | ||||
* | Add options to print the argument and environment string parameters to | mdodd | 2002-08-04 | 10 | -6/+146 |
| | | | | | | | | | execve(). This could be done in a more general manner but it still wouldn't be very pretty. MFC after: 3 weeks | ||||
* | Add a "FreeBSD ELF32" entry to ex_types[]. | mdodd | 2002-08-04 | 1 | -0/+1 |
| | |||||
* | Terminate the output line when a non-returning syscall is printed. | mdodd | 2002-08-04 | 5 | -0/+5 |
| | |||||
* | Add options to print absolute and relative timestamps. | mdodd | 2002-08-04 | 4 | -5/+46 |
| | | | | | PR: bin/25587 (in part) MFC after: 3 weeks | ||||
* | Allow tracking fork()ed children. | mdodd | 2002-08-04 | 11 | -10/+80 |
| | | | | | PR: bin/25587 (in part) MFC after: 3 weeks | ||||
* | Parameterize globals. | mdodd | 2002-08-04 | 11 | -143/+196 |
| | | | | | PR: bin/25587 (in part) MFC after: 3 weeks | ||||
* | Use a cast to `void *' before casting to a pointer to a structure | robert | 2002-08-02 | 1 | -5/+8 |
| | | | | | | | to stop GCC emitting warnings about increased alignment requirements which broke the build for sparc64. Approved by: des | ||||
* | Don't depend on namespace pollution from <netinet/in_pcb.h>. | des | 2002-08-01 | 1 | -0/+2 |
| | | | | Submitted by: bde | ||||
* | Implement the -l and -c options, which I'd forgotten. | des | 2002-08-01 | 1 | -6/+17 |
| | |||||
* | Rewrite sockstat(1) in C. | des | 2002-07-31 | 4 | -257/+596 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | Fix some bugs in in-place editing: | fanf | 2002-07-30 | 1 | -28/+26 |
| | | | | | | | | (1) errors from freopen were not reported correctly (2) large files were not handled correctly (3) read-only files broke things MFC after: 1 week | ||||
* | Ignore leading semicolons on commands; required by SUSv3. | tjr | 2002-07-30 | 1 | -2/+8 |
| | | | | Obtained from: NetBSD (kleink, Aymeric Vincent) | ||||
* | When translating and -C is specified, behave as if the complemented set was | tjr | 2002-07-29 | 1 | -0/+26 |
| | | | | in the locale collating order as required by SUSv3. | ||||
* | When translating and the -c option is specified, handle the case where the | tjr | 2002-07-29 | 1 | -6/+11 |
| | | | | | second string argument is more than one character in length in the way required by SUSv3 (and the way GNU textutils and SVR4 do it). | ||||
* | Drop support for COPY, -c has been the default mode of install(1) | ru | 2002-07-29 | 6 | -10/+10 |
| | | | | | | for a long time now. Approved by: bde | ||||
* | Ignore -C, -p, and -S options of install(1) when used with the -d | ru | 2002-07-29 | 1 | -1/+1 |
| | | | | | | | option. Warn about COPY being phased out. Restore the old method of always comparing before installing: INSTALL="install -C". Requested by: bde | ||||
* | fetch(1) is WARNS-5 clean (tested on i386 and Alpha) | des | 2002-07-28 | 1 | -0/+1 |
| | |||||
* | Use strtol(3) instead of a home-grown version, and fix a "possibly | des | 2002-07-28 | 1 | -36/+24 |
| | | | | unitialized variable" warning. | ||||
* | 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. |