summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
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
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