summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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
2007-10-07reorg pcc tree; requested by and ok deraadt@; ok ragge@Otto Moerbeek
2007-10-07delete ugly $Header stuff; pr 5595Theo de Raadt
2007-10-07add SSH_AUTH_SOCK to env_keep.Steven Mestdagh
ok millert@
2007-10-07From master repo:Anders Magnusson
> Don't let pragmas pass through if #ifdef'd away, from Stefan Kempf.
2007-10-06add WRKOBJDIR to default env_keep to help 'make fake' in ports.Stuart Henderson
ok millert@
2007-10-06replace realloc/memset/pointer-arithmetic with recalloc; ok millert@ ray@ espie@Constantine A. Murenin
2007-10-06From master repo:Anders Magnusson
> Compalin if user is applying sizeof to bitfield, from Stefan Kempf.
2007-10-06From master repo:Anders Magnusson
> Do not try to branch-optimize pointer comparisions, found by Otto M.
2007-10-06_Bool is also a type, don't discrimnate against it; ok ragge@Otto Moerbeek
2007-10-06replace abort() by return (-1)Charles Longeau
from ray@ suggestion "looks good" ray@
2007-10-05strcspn() changeGilles Chehade
was okay'd by pyr@ and ok by millert@
2007-10-05From master repository log:Anders Magnusson
Do not optimize away a cast if constant too large for target type. Should remove branch but need to check for side effects in that case. Also correct possible incorrect min constant.