summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Replace /kernel with /boot/kernel/kernel.joe2002-05-091-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.des2002-05-082-45/+10
| | | | Sponsored by: DARPA, NAI Labs
* Check for possible overflow from sysconf _SC_ARG_MAX and error out in ajmallett2002-05-051-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)jmallett2002-05-021-2/+2
| | | | returns NULL, as malloc(3) sets errno. Use err(3).
* Reorder for style.markm2002-04-281-3/+3
|
* Provide an environment variabloe, EXPR_COMPAT, which disables optionwollman2002-04-222-10/+27
| | | | parsing for compatibility with old implementations.
* Usage style sweep: spell "usage" with a small 'u'.des2002-04-221-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'charnier2002-04-211-23/+24
|
* Use `The .Nm utility'charnier2002-04-203-6/+7
|
* Add a reference to the kenv(2) manpage.mux2002-04-181-0/+1
|
* Replaced exists() tests with two equivalent defined().ru2002-04-181-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.mux2002-04-173-66/+122
| | | | Reviewed by: peter
* Use `The .Nm utility'charnier2002-04-169-29/+50
|
* ls(1) is utility not functioncharnier2002-04-161-1/+1
|
* s/CMOS/hardware as talked about on cvs-committers.trhodes2002-04-161-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)trhodes2002-04-151-0/+6
| | | | | | sets PR: 35606
* Stop a null pointer dereference in the builtin hash function.greid2002-04-151-1/+4
| | | | | | PR: 36141 Approved by: cracauer MFC after: 1 week
* Document option to option dependancy. Fix typo.jwd2002-04-151-3/+7
| | | | MFC after: 1 week
* Do not return(f_returning_void());. Spell FALLTHROUGH to make it lint()able.charnier2002-04-121-9/+15
|
* Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,bmilekic2002-04-091-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()jedgar2002-04-071-2/+2
|
* Various mdoc fixes, including a change that corrects spacing askeramida2002-03-311-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 exprache2002-03-281-5/+6
|
* Make the columns in the output of df(1) line up, even for very largeiedowse2002-03-261-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/.ru2002-03-262-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 moremarkm2002-03-241-15/+14
| | | | acceptable getprogname(3).
* Disable -Werror when building -- the old version of gcc used on IA32 can'twollman2002-03-231-0/+2
| | | | deal with C99 formats.
* Typo (if => of).wollman2002-03-221-1/+1
|
* Add a word of caution about integer arithmetic range and overflow detection.wollman2002-03-221-0/+6
|
* Fix a few formatting brainos and make the formatting of the EXAMPLESwollman2002-03-221-6/+9
| | | | section somewhat clearer.
* Make expr POSIX-compliant, and fix some bugs. Specifically:wollman2002-03-222-104/+215
| | | | | | | | | | | | | - expr must conform to the Utility Syntax Guidelines, so use getopt() to eat the (non-existent) options. - Use the Standard type intmax_t for arithmetic. - If an argument cannot be *completely* converted to an integer, then it is a string. Additionally make some style cleanups near the modified lines. This utility is still not completely style-compliant.
* Update SCM ID.obrien2002-03-221-2/+2
|
* Note that -n is non-standard.obrien2002-03-221-1/+3
|
* No need to cast; ().gr_gid is already the correct type.markm2002-03-221-1/+1
|
* Add the -n option, which automatically answers "no" to the overwrite question.obrien2002-03-222-6/+27
|
* remove __Pimp2002-03-221-2/+2
|
* mdoc(7) police: use precise width specifier.ru2002-03-151-1/+1
|
* NAI DBA update.rwatson2002-03-144-4/+4
|
* 1) Rev.1.35 of dd.c has a more serious regression. It backs out rev.1.31,markm2002-03-071-1/+2
| | | | | | | | thus breaking systems with unpolluted <sys/stat.h>'s. 2) Back out an initialisation of a variable in BSS. Reported by: bde (1), many(2)
* Log:maxim2002-03-061-10/+6
| | | | | | | | | | | Remove eaccess(2) absence workaround. Add eaccess(2) checks for FILRD, FILWR, FILEX and FILEXIST cases. We cannot MFC this because there is no eaccess(2) in -stable yet. PR: bin/35076 Reviewed by: ru Approved by: ru
* Use ANSI-99 int names (uintXX_t) over traditional BSD int namesimp2002-03-051-5/+6
| | | | (u_intXX_t).
* Use NLSLINKS to setup symbolic links in NLS areaphantom2002-03-041-27/+10
|
* This file is not used anymorephantom2002-03-041-17/+0
|
* Use bsd.nls.mk for building/installing NLS filesphantom2002-03-0411-185/+48
| | | | XXX: links handling simplify
* clarify code:alfred2002-03-041-6/+19
| | | | | | | add comments. don't get the length of each arg passed, only the last one. check against == or != NULL rather than using a pointer value as truth test.
* Update STANDARDS section on rm(1) to reflect current conformance.dwhite2002-03-021-16/+2
| | | | PR: 35471
* Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit localesache2002-02-281-1/+1
| | | | PR: 35421
* Fix a bug introduced in rev.1.23 - for some reason mkdir("/", ...) systemsobomax2002-02-251-1/+1
| | | | | | | call returns `EISDIR', not `EEXIST', so that be prepared for that. This should fix number of ports, that often call `mkdir -p //usr/local/foobar'. This is just a quick workaround, the real fix would be either to avoid calling mkdir("/", ...) or fix VFS code to return consistent errno for this case.
* #include <time.h> for the definition of time functions instead ofbde2002-02-251-2/+1
| | | | | | depending on namespace pollution 2 layers deep in <sys/stat.h>. Removed unused includes.
* Fixed unsorting.bde2002-02-231-6/+6
|
OpenPOWER on IntegriCloud