summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-10-18Pull from master repo:Stefan Kempf
Replace errorx() with error(); exit() in the child process in callsys(). errorx deletes the temp. files which we don't want to happen in the child. ok otto@, ragge@
2007-10-18Kill spurious warnings when arg is a function pointer. ShouldOtto Moerbeek
actually check the return type and arg list of the function pointer arg. ok ragge@
2007-10-18Avoid memory leak if tag is defined multiple times in CVSROOT/config.Tobias Stoeckmann
OK ray@, xsa@
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
2007-10-17Use TCSAFLUSH not TCSADRAIN when turning off echo and use TCSANOW whenTodd C. Miller
restoring it.
2007-10-17more unification between amd64 and i386 (API changes, but we thinkTheo de Raadt
noone else uses this acpi except the command); from Mike Belopuhov
2007-10-17- fix several switch statements regarding falling through the case statement;Theo de Raadt
- remove double break; from Mike Belopuhov
2007-10-17various fixes for previous;Jason McIntyre
2007-10-17Update to sudo 1.6.9p6Todd C. Miller
2007-10-17replacement for the pctr codebase that can handle amd64 processors asTheo de Raadt
well (in fact, all 4 combinations of codebase and processor) written by Mike Belopuhov and Aleksey Lomovtsev
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
ok jmc@
2007-10-16fix -b arch option parsing; ok todd@Otto Moerbeek
2007-10-16Pull diff for rev 1.8 from master repo. Fixes typo and displaysStefan Kempf
parts of DESCRIPTION correctly. Spotted by Sergey Elin. ok otto@, jmc@
2007-10-16Properly adjust headers displayed when the screen contains few lines.Otto Moerbeek
Avoid a segv also. Problem reported by Mark Lumsden; inital diff by me, further polishing by Mark. Tested by ray@ canacar@ hshoexer@
2007-10-15now that pcc knows the __inline__ keyword, no need to -D it to inlineOtto Moerbeek
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-10-15prettier when running make depend (just tabs and spaces)Theo de Raadt
2007-10-14by default just build ccom for the current hostOtto Moerbeek
2007-10-14don't hardcode TARGMACHOtto Moerbeek
2007-10-14From master repo:Stefan Kempf
Use xor to clear 32/16-bit registers instead of mov. ok ragge@, otto@
2007-10-14allows node to be run twice, by not destroying the cmdnode contents.Marc Espie
This way, you can run `make .BEGIN'. Okay, this will run .BEGIN twice.
2007-10-12Fix broken build. Reported by Gregory McGarry on pcc-list.Stefan Kempf
ok otto@
2007-10-12use __progname where neededJasper Lievisse Adriaanse
ok otto@
2007-10-12From master repo:Stefan Kempf
> Add zero checks when dividing or taking modulo. ok otto@
2007-10-12From master repo:Stefan Kempf
> Document -X flag. ok otto@
2007-10-12fix va_arg in conditional expressions; from ragge@Otto Moerbeek
2007-10-12rewrite of constant expression evaluation; taking into accountOtto Moerbeek
signed vs unsigned and shortcutting of && and || ok ragge@
2007-10-11pcc also knows about quads; ok cloder@Otto Moerbeek
2007-10-10date UCB rescinded term 3; Mikolaj KucharskiTheo de Raadt
2007-10-10Limit the allowed characters in a request to [a-zA-Z0-9-_.:/= ] everythingClaudio Jeker
else will cause an "invalid character in input" error. Fixes xss issue noticed by Anton Karpov. OK henning@, sthen@
2007-10-09Added proper support for branch revisions in annotate.Tobias Stoeckmann
OK niallo@, twice :)
2007-10-09Properly parse supplied symbols with -r argument.Tobias Stoeckmann
OK niallo@
2007-10-09Do not use working HEAD (file_rcsrev), instead use file_rcs->rf_head toTobias Stoeckmann
print revision info. OK niallo@
2007-10-09various style cleanups:Tobias Stoeckmann
- Copyright order - rev -> cvs_specified_tag - crev -> rev - line instead of alines[i] in for-loop OK niallo@
2007-10-09Do not warn user about files that are "no longer in the repository"Tobias Stoeckmann
during cvs import. OK niallo@
2007-10-09Return NULL if a revision has been supplied that is higher than HEAD.Tobias Stoeckmann
This one and previous OK niallo@, "makes sense to me" xsa@
2007-10-09Properly resolve branches, i.e. supplying branch base revision (e.g. 1.1.1)Tobias Stoeckmann
should resolve to latest branch revision (e.g. 1.1.1.1).
2007-10-09cvs import must not parse files in local CVS directory.Tobias Stoeckmann
OK niallo@
2007-10-09factor out identical codeMarc Espie
2007-10-09cut up JobStart, prepare the job to be run in a separate functionMarc Espie
2007-10-09don't bother returning anything from JobStart, we don't look at it anywaysMarc Espie
2007-10-09minor refactor: introduce function start_queued_job, to make it more apparentMarc Espie
JobStart and JobRestart often do the same thing. Move JobMakeArgv call around for similar reasons. Introduce new list (queuedJobs) we don't use yet.
2007-10-09rename jobs to more descriptive runningJobs (and easier to grep)Marc Espie
2007-10-09just-in-time signal handling: do not setup the handlers until we need them.Marc Espie
2007-10-09rename functions for clarity.Marc Espie
Add a global `got_signals' to quick-path thru handle_all_signals. remove most of the #ifdef USE_PGRP cruft: always be ready to handle those signals, just do not define a handler for them yet.
2007-10-08Simplify the code that strips out \r by using strcspn.Pierre-Yves Ritschard
ok millert@
2007-10-08oops, fix merge errorOtto Moerbeek
2007-10-08initilize sflags and only print n_rval when initialized; tracking byOtto Moerbeek
Laurent Desnogues. ok ragge@
2007-10-08signal handles must not call exit() or use stdio; ok ottoTheo de Raadt