summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2007-11-04some small nonfunctional tweaks. ok beck millertTed Unangst
2007-11-03- standard EXAMPLESJason McIntyre
- tidy up SEE ALSO
2007-11-02add man page for chio.conf; missing file spotted by deraadtJason McIntyre
ok beck
2007-11-02+.Xr chio 1 ,Jason McIntyre
ok beck
2007-11-01there is a reason why the argument to -l is "exit_status": as well asJason McIntyre
showing the names of signals, it may also convert the exit status of commands terminated by signals to their names. flesh out the description of -l accordingly. issue spotted by
2007-10-31clamp -ttttttttt test counter to 1B, so that it does not wrap negative;Theo de Raadt
from Nicholas Marriott, ok otto
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
ok jmc@
2007-10-16Allow '=' to end a number in all lexers.Marco Pfatschbacher
Requested and OK deraadt@
2007-10-16in the lex... even inside quotes, a \ followed by space or tab shouldTheo de Raadt
expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). pointed out by mpf, discussed with pyr
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-10-13in all these programs using the same pfctl-derived parse.y, re-unify theTheo de Raadt
yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas.
2007-10-11next step in the yylex unification: handle quoted strings in a nicer fashionTheo de Raadt
as found in hoststated, and make all the code diff as clean as possible. a few issues remain mostly surrounding include support, which will likely be added to more of the grammers soon. ok norby pyr, others
2007-09-24typos; from Pierre RiteauJason McIntyre
2007-09-22warn should return an error message for chmod, not for chownIgor Sobrado
ok millert@
2007-09-16"source" and "target" can be either files or directories;Igor Sobrado
cp(1) and ln(1) must have a synopsis consistent with mkdir(1), mv(1), rmdir(1) and others ok jmc@, millert@, otto@
2007-09-11macro argument unused, using local instead; spotted by mpfTheo de Raadt
2007-09-11extend lex to spot numbers in the stream, without impacting the parsingTheo de Raadt
of ip addresses and such. this change is being pushed into all the pfctl derived parsers, starting with the easy ones. chio does not yet use the NUMBER token, but may one day. ok krw
2007-09-06Be more smart waiting for input for non-interactive scripts. FixOtto Moerbeek
based on a diff from debian: see their bug#296446. ok millert@ sobrado@
2007-09-05Call ERR trap _before_ doing exit handling. Otherwise it's too lateOtto Moerbeek
and the ERR trap won't get called at all. ok millert@
2007-09-03malloc(n * m) -> calloc(n, m); ok espieTheo de Raadt
2007-09-03Unsetting a non-existent variable is not an error. SeeOtto Moerbeek
http://www.opengroup.org/onlinepubs/009695399/utilities/unset.html report from Arkadiusz Miskiewicz; fixed based on http://cvs.pld-linux.org diff; ok millert@ fgsch@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-09-01malloc(n * m) -> calloc(n, m); from zinovikTheo de Raadt
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-08-02backout last change; iff is right.Federico G. Schwindt
prompted by deraadt@
2007-08-02while i'm here: iff -> ifFederico G. Schwindt
2007-08-02another memory leak fix found by coverity. from netbsd but modified.Federico G. Schwindt
millert@ ok.
2007-08-02fix memory leaks and one potential null deref found by coverity. from netbsd.Federico G. Schwindt
millert@ ok
2007-08-01escape [, ], and ? as well. from cbiere@netbsd.Federico G. Schwindt
millert@ ok.
2007-07-31Adapted from DragonflyBSD revisions 1.10 and 1.11: warn when sourceRay Lai
and target are identical. When -f is specified, don't delete source. OK sobrado, feedback from paesco, kettenis, and tedu.
2007-07-27Separate code a little, making it clearer. From Gilles ChehadeRay Lai
<root at evilkittens dot org>. Reset blen on malloc failure. Match blen type with st_blksize. OK moritz@
2007-07-26STDIN_FILENO is better than fileno(stdin); zinovik@cs.karelia.ruTheo de Raadt
2007-07-17sync usage(); from Tobias StoeckmannJason McIntyre
2007-06-25Greg A. Woods: stty(1) should mention tty(4)Jason McIntyre
2007-06-15keep trailing slashes in path normalization, as these might result inNikolay Sturm
errors otherwise hidden by systrace noticed by naddy, ok ray on an earlier version of this diff
2007-06-06don;t try to handle obsolete protocols, print functions so cosmetics onlyHenning Brauer
ok otto ray
2007-06-06Unlink files with multiple links when -P flag is specified insteadRay Lai
of just warning and skipping the file. OK millert and jmc.
2007-06-02s/FALLTROUGH/FALLTHROUGH/Moritz Jodeit
2007-06-01fix -Wall 'implicit declaration' of err & errx: s/errno.h/err.h/; ok ↵Constantine A. Murenin
deraadt, henning
2007-05-31Only process ENV when in interactive mode as SU says. Started byOtto Moerbeek
tedu to fix make -j, SU thing spotted by naddy@; ok millert@ @tedu jmc@ for the man page bit.
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30some i missed...Jason McIntyre
- consistent text for STANDARDS - note which options are extensions to POSIX
2007-05-29note some flags which differ in behaviour from posix;Jason McIntyre
suggested by millert
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2007-05-29remove compat netbsd stuffOtto Moerbeek
2007-05-25Remove y2k hack. If no century is specified, use the current one.Todd C. Miller
OK otto@
2007-05-19simplify the description of -R; from Jeffrey 'jf' LimJason McIntyre
2007-05-18prettier MakefilesTheo de Raadt
2007-05-15don't assume 4-byte aligned memory when intercepting a stringNikolay Sturm
this should get rid of systrace: intercept_get_string: ioctl: Invalid argument no objections from provos, ok otto