summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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
2007-10-08do not try to reset the default branch if the RCS fileJoris Vink
does not exist, fixes a segfault when commiting a new file. found by tobias@ who is going to make a nice little regression test for this.
2007-10-08Remove two unneeded macro definitions, replace strdup() with copy() whichStefan Kempf
does error checking. otto@, ragge@ ok
2007-10-07get rid of the configure remainsOtto Moerbeek
2007-10-07merge from ragge's repo:Otto Moerbeek
Bugfix for .i files, by Jeremy Reed.
2007-10-07merge from ragge's repo:Otto Moerbeek
Add __inline__ as gcc-compatible keyword.
2007-10-07Merge from ragge's repo:Otto Moerbeek
Add initial support for packed/aligned/rename pragmas. Still missing: Support for architectures with strict alignment. TODO: Cleanup the rename stuff so that it's not depending on gcc compat.
2007-10-07break after exit() is uselessCharles Longeau
ok ray@
2007-10-07nb is an int, so it should be compared to an int.Charles Longeau
ok ray@
2007-10-07and another stray fileOtto Moerbeek
2007-10-07garbage collect a few filesOtto Moerbeek