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