Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | strtoq -> strtoll (strtoq is deprecated) | ache | 2001-12-25 | 1 | -5/+5 |
| | |||||
* | 1) Localize (LC_CTYPE) | ache | 2001-12-17 | 1 | -0/+11 |
| | | | | | 2) Catch "" to 0 conversion for OSes that not catch it in strto*() (f.e. -stable). It is needed because POSIX agrees with both variants. | ||||
* | POSIX strto*() functions MAY return EINVAL, so don't assume that only one | ache | 2001-12-14 | 1 | -2/+4 |
| | | | | errno from them allowed and it is always ERANGE | ||||
* | Default to WARNS=2. Binary builds that cannot handle this must explicitly | obrien | 2001-12-04 | 1 | -2/+0 |
| | | | | | | set WARNS=0. Reviewed by: mike | ||||
* | Fix style bugs I found, and add a comment. | knu | 2001-11-19 | 1 | -10/+11 |
| | |||||
* | Oops sorry, forgot to add a #include. | knu | 2001-11-19 | 1 | -0/+1 |
| | |||||
* | - Do not reference argv[1] if no argument is given. | knu | 2001-11-19 | 1 | -7/+34 |
| | | | | | | Reported by: brian - Call error() instead of errx() if compiled as sh(1) builtin. | ||||
* | Make test(1) a builtin command of our sh(1) for efficiency. The | knu | 2001-11-17 | 2 | -0/+13 |
| | | | | | | | | | | | binary size increase is 3,784 bytes (about 0.6%). I don't drop the printf builtin while I'm here because some /etc/rc.* scripts seem to use it before mounting /usr where printf(1) resides. Reviewed by: arch (sheldonh) Inspired by: NetBSD, ksh Clued by: ume (on how the printf builtin is used) | ||||
* | The file_descriptor argument to -t isn't optional, so don't mark it up so. | dd | 2001-08-31 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: | ru | 2001-08-07 | 1 | -1/+1 |
| | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. | ||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -6/+6 |
| | |||||
* | WARNS= -> WARNS?= | dd | 2001-06-22 | 1 | -1/+1 |
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> | ||||
* | Silence WARNS=2 and BDECFLAGS on alpha and i386 | kris | 2001-05-20 | 2 | -15/+19 |
| | | | | MFC After: 1 week | ||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -6/+6 |
| | |||||
* | mdoc(7) police: now that Nm macro accepts punctuation characters | ru | 2000-11-18 | 1 | -1/+1 |
| | | | | | | as argument, unbreak this page by escaping the `[' character. Noticed by: sheldonh | ||||
* | Add support for 64bit integer comparisons. | se | 2000-07-10 | 1 | -6/+50 |
| | |||||
* | Remove test for block device. | kris | 2000-05-07 | 1 | -1/+0 |
| | |||||
* | Remove single-space hard sentence breaks. These degrade the quality | sheldonh | 2000-03-01 | 1 | -1/+2 |
| | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. | ||||
* | Take into account the fact that "[" may be called with a path, | sheldonh | 1999-12-28 | 1 | -1/+6 |
| | | | | | | | | for example "/bin/[". Reported by: Vlad Skvortsov <vss@ulstu.ru> Reported by: Peter Jeremy <peter.jeremy@alcatel.com.au> Message-Id: 99Dec27.111307est.40321@border.alcanet.com.au | ||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-27 | 6 | -6/+6 |
| | |||||
* | Make the comments nice, short-but-sweet XXX format. | green | 1999-08-24 | 1 | -10/+3 |
| | | | | Submitted by: sheldonh | ||||
* | Make a comment I added a bit nicer. | green | 1999-08-22 | 1 | -2/+3 |
| | |||||
* | Finally: fix test -x as completely as possible. | green | 1999-08-20 | 1 | -7/+17 |
| | | | | | Reviewed by: bde Reworked by: bde | ||||
* | The new test(1) did not use access() correctly. I don't know why, since | green | 1999-08-18 | 1 | -2/+7 |
| | | | | | | | | supposedly it's ksh-derived, and it's not broken in pdksh. I've added a test for test running as root: if testing for -x, the file must be mode & 0111 to get "success", rather than just existant. Reviewed by: chris | ||||
* | Replace our test(1) with NetBSD's pdksh-derived version. The code is | sheldonh | 1999-08-16 | 5 | -785/+465 |
| | | | | | | | | | | | | significantly easier to read and extend and offers a few new tests. A few style changes taken from style(9) and OpenBSD, as well as whitespace cleanups. This change was discussed on freebsd-committers and freebsd-hackers and met with approval from at least des, eivind and brian. PR: 13091 Obtained from: NetBSD | ||||
* | Minor style fix - change 'if(!*v)' to 'if (!*v)' | chris | 1999-08-14 | 1 | -2/+2 |
| | |||||
* | Various spelling/formatting changes. | kris | 1999-05-08 | 1 | -2/+2 |
| | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> | ||||
* | Add cross-references to test(1) and expr(1) respectively. | jkoshy | 1998-12-18 | 1 | -1/+4 |
| | | | | | PR: docs/9111 Submitted by: Josh Gilliam <josh@quick.net> | ||||
* | Add -S flag to test for sockets. | cracauer | 1998-09-07 | 4 | -17/+28 |
| | | | | | | PR: bin/7507 Reviewed by: I tested the patch Submitted by: Stefan `Sec` Zehl sec@42.org | ||||
* | Correct use of .Nm. Add rcsid. | charnier | 1998-05-18 | 3 | -13/+17 |
| | |||||
* | Remove simultaneous include of <sys/param.h> and <sys/types.h>. | eivind | 1997-12-10 | 1 | -3/+2 |
| | | | | | Reorder includes to be alphabetical some places since I already was in here. | ||||
* | Typo fix. | charnier | 1997-06-02 | 1 | -2/+3 |
| | |||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 8 | -8/+8 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 8 | -8/+8 |
| | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. | ||||
* | add some string examples, eg. test "" -o "" | wosch | 1996-12-28 | 1 | -12/+16 |
| | |||||
* | Fix handling of -o and -a operators in the 3 argument case. | steve | 1996-12-25 | 1 | -2/+2 |
| | | | | Submitted by: Tom Rush <tarush@mindspring.com> | ||||
* | -Wall cleaning. | steve | 1996-12-14 | 2 | -5/+5 |
| | |||||
* | sync copyright with /usr/share/examples/etc/bsd-style-copyright | wosch | 1996-08-27 | 1 | -2/+25 |
| | |||||
* | Add a better TEST script. I was surprised how much can be wrong | wosch | 1996-06-19 | 2 | -0/+133 |
| | | | | with program test(1) or builtin test(1). | ||||
* | err() --> errx() for non-errno related failures. | joerg | 1996-03-11 | 1 | -3/+3 |
| | |||||
* | Fix -h option: | ache | 1995-10-28 | 1 | -2/+2 |
| | | | | sense symlink even it is unresolved | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -6/+6 |
| | | | | Reviewed by: phk | ||||
* | You will find enclosed some changes to make gcc -Wall more happy in | joerg | 1995-03-19 | 1 | -3/+3 |
| | | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier) | ||||
* | Fix group permissions check for group list size > 1 | ache | 1994-11-05 | 1 | -3/+13 |
| | | | | Pointed by Bruce | ||||
* | Fix root -w case according to manpage (-x & -r cases already accords) | ache | 1994-11-05 | 1 | -4/+7 |
| | | | | Pointed by Bruce. | ||||
* | Cosmetique, missing tab/spaces after patch | ache | 1994-11-05 | 1 | -6/+6 |
| | |||||
* | More complex implementation of previos superuser fix | ache | 1994-11-05 | 1 | -2/+10 |
| | | | | because rw and x bit treats differently infact | ||||
* | test produce wrong results for superuser, i.e. tells | ache | 1994-11-05 | 1 | -2/+2 |
| | | | | that file is unreadable when it is readable infact. | ||||
* | Added $Id$ | dg | 1994-09-24 | 6 | -0/+8 |
| | |||||
* | Make get_int() think that "" (null) has the integer value 0. | csgr | 1994-09-11 | 1 | -0/+5 |
| | | | | | | (Which is the same behaviour as in 1.x) The install blows up without this. Reviewed by: rgrimes |