summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2008-07-29md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;Igor Sobrado
while here, some KNF improvements. based on a diff for compress(1) written by millert@, fixes from guenther@ and pyr@. ok millert@, pyr@; (for the manual page tweaks) jmc@
2008-07-23fix stack abuse in the `time' commmand, using alloc()'d memory instead.Jared Yanovich
reported by Thorsten Glaser, thanks. ok millert@, earlier version miod@
2008-07-21Extra sanity checking for afree(); OK deraadt@ and pvalchev@Todd C. Miller
2008-07-18remove unnessasary cast.Kevin Lo
ok millert@
2008-07-12Fix a strlcpy() bound.Miod Vallat
2008-07-05ksh starting as root will refuse to import a PS1 prompt unless itDamien Miller
contains a '#' character. Make it also accept the \$ PS1 sequence (which is supposed to automagically be $ or # depending on the user running the shell) unless ksh has been started in sh-compatibility mode. pointed out by millert@ when I asked why my SUDO_PS1 was not being honoured; ok millert@
2008-07-03fix inifinite loop with set -o csh-history and !<space> as input.Otto Moerbeek
report and testing by david@; ok millert@ jaredy@
2008-06-17better description of what ps without arguments does;Jason McIntyre
from Pierre Riteau ok otto
2008-06-11(sorry pval) some missing -j bits;Jason McIntyre
2008-06-11Add tar -j option that calls bzip2 for compress/decompress. RequiresPeter Valchev
you to install the bzip2 pkg (or add bzip2 in another way). ok millert@ otto@ deraadt@ and 'many others'@ man page tweak from jmc@
2008-06-10do not ask the "override?" question if access fails for other resaons thanOtto Moerbeek
EACCES. From Tim van der Molen; ok millert@ ray@
2008-06-08Prevent a segmentation fault when ed receives a signal while being inTobias Stoeckmann
getpass(). With input by and ok otto
2008-05-28write cpio_usage() in a way consistent with pax_usage() and tar_usage();Igor Sobrado
wrap options around to fill out the 80 columns; spacing. tweaked by jsing@, thank you very much! ok jsing@
2008-05-28In -f mode, don't print a warning if source and target already pointTodd C. Miller
to the same inode. This is consistent with other implementations. OK deraadt@ miod@ ray@
2008-05-28add a description for -D and -T (taken from NetBSD's rmail(8));Igor Sobrado
use the right capitalization for "sendmail". tweaks by jmc@ and jsing@, thanks! ok jmc@, jsing@, millert@
2008-05-26get the argument name right; from Jacek MasiulaniecJason McIntyre
2008-05-20cast pointer arithmetic to unsigned so we can behave correctly onFederico G. Schwindt
underflows. fixes fc -l 1 in my box where line is 1667511151. krw@ ok.
2008-05-17documentation tweaks.Igor Sobrado
ok (some time ago) jmc@
2008-05-08documentation tweaks.Igor Sobrado
2008-05-06when pax is running in -u mode, and no files are beeing updated becauseHenning Brauer
not one changed, we should not exit with an error but zero to indicate success (matches solaris behaviour). need to track wether files were skipped because of the -u checks for that and take that into account later when taking the exit code decision. ok theo, comments from otto and miod
2008-04-21Initialize the correct variable in HUP handler if ed.hup in currentTobias Stoeckmann
directory cannot be written and ~/ed.hup path has to be built up. Also pay special care that HOME is an absolute path name. With input by millert. ok deraadt, millert
2008-04-16mkfifo makes fifos, not directories; from Ben CalvertJason McIntyre
while here, make the description of -m more consistent for mkdir, mkfifo, and mknod. add a touch of .Ex for mkdir too.
2008-03-24- extern.h is already included by ps.h, so zap it.Jasper Lievisse Adriaanse
from Jacek Masiulaniec, via ray@ ok ray@
2008-03-21Make ulimit able to get and set multiple limits in a single invocationTodd C. Miller
like bash and zsh do. Requested by espie@, OK deraadt@
2008-03-17better .Nd; from Pierre RiteauJason McIntyre
ok sobrado
2008-03-16actually print the now available large numbersOtto Moerbeek
2008-03-08Instead of calling donlist() in the format print routines, call itTodd C. Miller
a single time before we print anything, if needed. Uses a flag to specify which formats need the kernel info donlist() provides. OK deraadt@
2008-02-27Unbreak parser by initializing topfile correctly.Marco Pfatschbacher
I got fooled by patch(1). Sorry.
2008-02-26Have popfile() also close the main config file,Marco Pfatschbacher
but only do the final popfile call after yyparse() is done. This also fixes config reload on SIGHUP for some daemons. Spotted by otto@. OK deraadt@
2008-02-25support giant files by using ftello(); dhill@mindcry.orgTheo de Raadt
2008-02-13Rework the fix in 1.20. The original fix causes problems for systraceTodd C. Miller
policies since mkdir(2) will be called for each directory in the path, even things like / or /usr. We now use a hybrid approach uses stat(2) until either we find something missing or we reach that last component. Then we switch to calling mkdir(). Tested by bernd@ and chl@
2008-02-12use ftello instead of ftell; from Davil Hill; ok millert@Otto Moerbeek
2008-02-10Use HW_PHYSMEM64.Mark Kettenis
ok krw@
2008-01-12Remove ulimit MLINK, it is a shell built-in.Miod Vallat
2008-01-11providing MLINKS for shell builtins makes little sense: what we had was outJason McIntyre
of date for ever (no ksh builtins), and since we have two shells, pointing to one page or the other is never going to work; so remove MLINKS for csh(1); the cd(1) and wait(1) pages (also builtins); and update any trailing Xr's; please, there are tools like whence, man, and locate for finding this stuff; ok deraadt miod
2008-01-02fix PR 5141:Charles Longeau
race condition in mkdir -p that may lead to an erroneous successful exit status. reported by Ralf Wildenhues <Ralf.Wildenhues at gmx.de> fix based on a suggested patch by Bruno Carnazzi <bcarnazzi at gmail.com>, largely inspired by NetBSD mkdir()s implementation looks OK otto@ OK millert@
2008-01-01Typo in comment about cpio_endwr() fixed.Tobias Stoeckmann
OK otto@
2008-01-01If rcp -p encounters a pre-epoch timestamp, use the epoch which isDarren Tucker
as close as we can get given that it's used unsigned. Matches recent change to scp.c, prompted by djm@
2007-12-28printf field widths are always int, so add a cast to removeCharles Longeau
"warning: field width is not type int" "looks good" otto@
2007-12-22fix df posix mode bugCharles Longeau
from otto@ prompted by otto@ who is aftk for now
2007-11-29remove unused functionCharles Longeau
from tobias@ ok millert@ tobias@
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
2007-11-12Remove space/tab compression function from lgetc() and replaceMarco Pfatschbacher
it with a simple filter in the yylex() loop. The compression in lgetc() didn't happen for quoted strings, thus creating a regression when tabs were used in variables. Some testing by todd@ and pyr@ OK deraadt@
2007-11-10remove "unused variable" warning appearing when building releaseCharles Longeau
ok millert@
2007-11-07properly exit >0 when encountering bad md5 in cheklistCharles Longeau
ok gilles@ millert@ From Tim van der Molen <tbvdm.lists at xs4all.nl>
2007-11-06fix format stringCharles Longeau
ok ray@ gilles@
2007-11-04some small nonfunctional tweaks. ok beck millertTed Unangst
2007-11-03- standard EXAMPLESJason McIntyre
- tidy up SEE ALSO