Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Back out part of previous commit: make -P the default again until I'm | tjr | 2002-05-18 | 2 | -2/+2 |
| | | | | convinced it's a good idea. | ||||
* | Make -L the default, allow both -L and -P to be specified (last one used | tjr | 2002-05-18 | 2 | -11/+16 |
| | | | | matters), fall back to -P mode if we can't get the logical directory. | ||||
* | Optimize prev. commit code a bit | ache | 2002-05-17 | 1 | -4/+4 |
| | |||||
* | Trailing slash fixes. | ache | 2002-05-17 | 1 | -2/+12 |
| | | | | | | | | | | Fix the case: cp file nonexistent/ which create nonextstent as file while trailing slash clearly indicates that nonexistent must be a directory. Also fix the case: cp file1 file2/ which should produce error. | ||||
* | Remove local definition of _PATH_CP, and use <paths.h>, _PATH_CP is in the | jmallett | 2002-05-17 | 2 | -1/+1 |
| | | | | CURRENT <paths.h>. | ||||
* | The sysctl has changed from 'kern.ps_showallprocs' to | joe | 2002-05-16 | 1 | -1/+1 |
| | | | | 'security.bsd.see_other_uids'. | ||||
* | more file system > filesystem | trhodes | 2002-05-16 | 1 | -1/+1 |
| | |||||
* | Consistancy check s/file system/filesystem/ | trhodes | 2002-05-16 | 20 | -46/+46 |
| | | | | Reviewed by: brian | ||||
* | restore missing default case removed in ls.c:r1.57 | billf | 2002-05-15 | 2 | -0/+4 |
| | | | | | | add break statements to default cases where missing. Submitted by: bde | ||||
* | Make 'user' and 'group' const as to not discard the qualifier from the | jmallett | 2002-05-15 | 1 | -1/+2 |
| | | | | | functions we use to assign them. Doesn't seem to be anything else that relies on these being non-const. | ||||
* | Remove an empty default case to make this syntactically correct. Not there | jmallett | 2002-05-15 | 1 | -1/+0 |
| | | | | is as good as blaknk. | ||||
* | Remove the private code for reading UFS superblocks, this does not belong | phk | 2002-05-12 | 2 | -110/+36 |
| | | | | | | | | | | | | | | | | in df(1) when we have multiple filesystem types, and the complications of handling UFS2 pushes this over the edge. Use the .../mount/extern.h to get prototypes of the functions we borrow from there. Constify things to match. (why aren't these functions in a lib anyway ?) Make everything static and set WARNS?=5. The way the "df diskdevice" thing works for unmounted diskdevices is not very general. Sponsored by: DARPA & NAI Labs. | ||||
* | Add semicolon to empty default case to silence warning. | jedgar | 2002-05-11 | 1 | -0/+1 |
| | |||||
* | EXPR_COMPAT should imply -e, since there is no way to specify it otherwise, | wollman | 2002-05-11 | 2 | -1/+18 |
| | | | | and -e reflects the historic behavior of FreeBSD's expr. | ||||
* | while i'm breaking stuff, use __dead2 instead of GCC specific __attribute__. | alfred | 2002-05-11 | 1 | -2/+1 |
| | |||||
* | backout additional include of cdefs.h, it's not helping any. | alfred | 2002-05-11 | 1 | -1/+0 |
| | |||||
* | include cdefs.h for __printf0like to silence warning. | alfred | 2002-05-11 | 1 | -0/+1 |
| | |||||
* | Add semicolon to empty default case to silence warning. | jedgar | 2002-05-11 | 1 | -0/+1 |
| | |||||
* | Add semicolon to empty default case to silence warning. | alfred | 2002-05-11 | 1 | -0/+1 |
| | |||||
* | The response to my POSIX interpretation request says that `expr' | wollman | 2002-05-10 | 2 | -46/+88 |
| | | | | | | is required to be oblivious to overflow and to use the data type `long'. (Division by zero is undefined in ISO C so it's still OK to check for it here.) Add a new `-e' flag to get the old, more useful behavior. | ||||
* | Remove gCC'isms. | obrien | 2002-05-10 | 1 | -1/+0 |
| | |||||
* | Replace /kernel with /boot/kernel/kernel. | joe | 2002-05-09 | 1 | -2/+2 |
| | | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org> | ||||
* | Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits. | des | 2002-05-08 | 2 | -45/+10 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | Check for possible overflow from sysconf _SC_ARG_MAX and error out in a | jmallett | 2002-05-05 | 1 | -5/+10 |
| | | | | | | | | | | | | | | | correct manner. Revert my incorrect change to use err(3) for malloc(3) failing. Use a size_t variable to store the size of the argument buffer we allocate, and remove silly casts as the result of having this around. Modify the math in some of the paranoid checks for buffer overflow to account for the fact we now are dealing with the actual size of the buffer. Remove the static qualifier for arg_max, and the bogus setting of it to -1. Include <limits.h> for the definitions we use to check for possible overflows. Submitted by: bde | ||||
* | Don't cast incorrectly to malloc(3), and don't use errx(3) if malloc(3) | jmallett | 2002-05-02 | 1 | -2/+2 |
| | | | | returns NULL, as malloc(3) sets errno. Use err(3). | ||||
* | Reorder for style. | markm | 2002-04-28 | 1 | -3/+3 |
| | |||||
* | Provide an environment variabloe, EXPR_COMPAT, which disables option | wollman | 2002-04-22 | 2 | -10/+27 |
| | | | | parsing for compatibility with old implementations. | ||||
* | Usage style sweep: spell "usage" with a small 'u'. | des | 2002-04-22 | 1 | -1/+1 |
| | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. | ||||
* | Use `The .Nm utility' | charnier | 2002-04-21 | 1 | -23/+24 |
| | |||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 3 | -6/+7 |
| | |||||
* | Add a reference to the kenv(2) manpage. | mux | 2002-04-18 | 1 | -0/+1 |
| | |||||
* | Replaced exists() tests with two equivalent defined(). | ru | 2002-04-18 | 1 | -1/+1 |
| | | | | | LIBDIR is defined in bsd.own.mk but sys.mk no longer includes bsd.own.mk as of revision 1.60. | ||||
* | Use the new functionalities provided by the kenv(2) syscall. | mux | 2002-04-17 | 3 | -66/+122 |
| | | | | Reviewed by: peter | ||||
* | Use `The .Nm utility' | charnier | 2002-04-16 | 9 | -29/+50 |
| | |||||
* | ls(1) is utility not function | charnier | 2002-04-16 | 1 | -1/+1 |
| | |||||
* | s/CMOS/hardware as talked about on cvs-committers. | trhodes | 2002-04-16 | 1 | -1/+1 |
| | | | | | | Suggested by: sheldonh Approved by: bde MFC after: 1 day | ||||
* | Little nit pick in date(1) manual page, tell users which clock date(1) | trhodes | 2002-04-15 | 1 | -0/+6 |
| | | | | | | sets PR: 35606 | ||||
* | Stop a null pointer dereference in the builtin hash function. | greid | 2002-04-15 | 1 | -1/+4 |
| | | | | | | PR: 36141 Approved by: cracauer MFC after: 1 week | ||||
* | Document option to option dependancy. Fix typo. | jwd | 2002-04-15 | 1 | -3/+7 |
| | | | | MFC after: 1 week | ||||
* | Do not return(f_returning_void());. Spell FALLTHROUGH to make it lint()able. | charnier | 2002-04-12 | 1 | -9/+15 |
| | |||||
* | Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will, | bmilekic | 2002-04-09 | 1 | -1/+4 |
| | | | | | | | and document in share/examples/etc/make.conf Submitted by: Aleksandar Simic <asimic@dsl.pipex.com> MFC after: 1 week | ||||
* | errx()/strerror() -> err() | jedgar | 2002-04-07 | 1 | -2/+2 |
| | |||||
* | Various mdoc fixes, including a change that corrects spacing as | keramida | 2002-03-31 | 1 | -43/+53 |
| | | | | | | | | described in PR docs/36461. PR: docs/36461 Noticed by: Gary W. Swearingen <swear@blarg.net> Submitted by: ru | ||||
* | Use intmax_t as quad_t replacement, like in expr | ache | 2002-03-28 | 1 | -5/+6 |
| | |||||
* | Make the columns in the output of df(1) line up, even for very large | iedowse | 2002-03-26 | 1 | -39/+106 |
| | | | | | | | | filesystems. We now keep track of the maximum width required for every variable-width field instead of just the first one. PR: bin/15510 MFC after: 1 week | ||||
* | Install sys/security/lomac/*.h to /usr/include/security/lomac/. | ru | 2002-03-26 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/. PR: docs/29534 Install sys/netatm/*/*.h to /usr/include/netatm/*/. Don't install compatibility symlinks for <machine/soundcard.h> and <machine/joystick.h>. Three years is enough to be aware of the change, and these weren't visible in the SHARED=symlinks case. Back out include/Makefile,v 1.160 that was a null change anyway due to the bug in the path, and we now don't want to install these headers because they would otherwise be invisible in the SHARED=symlinks case. Don't install IPFILTER headers. Userland utilities fetch them directly, and they were not visible in the SHARED=symlinks case. Resurrect SHARED=symlinks in Makefile.inc1. PR: bin/28002 Prodded by: bde MFC after: 2 weeks | ||||
* | Replace use of __progname with the functionally identical and more | markm | 2002-03-24 | 1 | -15/+14 |
| | | | | acceptable getprogname(3). | ||||
* | Disable -Werror when building -- the old version of gcc used on IA32 can't | wollman | 2002-03-23 | 1 | -0/+2 |
| | | | | deal with C99 formats. | ||||
* | Typo (if => of). | wollman | 2002-03-22 | 1 | -1/+1 |
| | |||||
* | Add a word of caution about integer arithmetic range and overflow detection. | wollman | 2002-03-22 | 1 | -0/+6 |
| |