summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
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
2007-05-08small update, now that -g does something; ok millertJason McIntyre
2007-05-07Change the -g flag from a no-op to be POSIX conforming. We allow theTodd C. Miller
-l flag to override -g regardless of its position on the command line for backwards compat with 4.3BSD. From NetBSD. OK jmc@, tom@, sobrado@
2007-04-30ffs2 support for reading df data directly from device; ok millert@ pedro@Otto Moerbeek
2007-04-25the non existent -W option is removed from the usage()Igor Sobrado
ok by jmc@
2007-04-14if we define a constant for the OPTSTRING, we can as well use it.Alexander von Gernler
ok tedu@
2007-04-13Userland gets 7 chars of wchan, not 6; noticed by thib@Miod Vallat
ok mickey@ otto@
2007-04-13allow multiple -t to increase the test count. cpus are getting too fast.Ted Unangst
ok grunk. with manpage from grunk and jmc
2007-04-12use UTC instead of GMT0 for -u; from Jared R.R.Spiegel <jrrs@ice-nine.org>Christian Weisgerber
ok millert@, otto@
2007-04-06when copying regular files, look for blocks of zeroes. when we see them,Ted Unangst
just lseek ahead to create a sparse file. saves disk and time. note this behavior in the man page. ok? deraadt millert
2007-04-04For verbose archive listings, use -> for symlinks, not =>,Todd C. Miller
as per POSIX. From Igor Sobrado via jmc@. OK otto@
2007-03-29Fix a cust & pastoTodd C. Miller
Correctly compute amount of base64 padding in checklist mode
2007-03-29Do not print a warning that no valid checksums were found if thereTodd C. Miller
was a single fingerprint for a file that could not be opened. The warning that the file could not be opened is sufficient. From espie@
2007-03-28Supress warnings for the first getopt() pass. Otherwise,Todd C. Miller
any "unknown option" messages get printed twice.