summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-10-24Remove idle loop counter.Mike Belopuhov
ok art deraadt
2007-10-24fix logic of command line/ MAKEFLAGS parsing.Marc Espie
Forces make to see the -j4 in MAKEFLAGS and to actually pass it to submakes
2007-10-24factor out network read/write into an atomicio()-like function, and use itDamien Miller
to handle short reads, apply bandwidth limits and update counters. make network IO non-blocking, so a small trickle of reads/writes has a chance of updating the progress meter; bz #799 ok dtucker@
2007-10-24rework argument splitting and parsing to cope correctly with common shellDamien Miller
escapes and make handling of escaped characters consistent with sh(1) and between sftp commands (especially between ones that glob their arguments and ones that don't). parse command flags using getopt(3) rather than hand-rolled parsers. ok dtucker@
2007-10-23Fix CLEANFILESMiod Vallat
2007-10-23Fixes from master repo:Anders Magnusson
> Fix FLD node type for code generation, so that it is useful again for > architectures with bitfield instructions, like vax and hppa :-)
2007-10-23Fix from master repo:Anders Magnusson
> Fix signed/unsigned type cast error, from Takehiko Nozaki.
2007-10-23Pull from ragge's repo, commit by mickey:Otto Moerbeek
fix segfault in CDEBUG() use of rnames
2007-10-23add missing checks against NULL on last.dk_rbytes and last.dk_wbytesCharles Longeau
reorder operations to make it easier to read and check From Igor Zinovik <zinovik@cs.karelia.ru> "looks ok" otto@ "looks correct" ray@ ok gilles@ "looks fine" moritz@
2007-10-22Pull from master repo:Stefan Kempf
Pass the right file and not a temporary to as if cc is invoked with .s files. ok ragge@, otto@
2007-10-22make sure that both the local and remote port are correct whenMarkus Friedl
parsing -L; Jan Pechanec (bz #1378)
2007-10-22Pull from ragge's repo:Otto Moerbeek
Some small bugfixes from Jan Kryl.
2007-10-22move from x86 to i386; gentle push by deraadt@, ok ragge@Otto Moerbeek
2007-10-22use EV_SET() instead of doing it by hand; Iruata SouzaTheo de Raadt
2007-10-21Pull from ragge's repo:Otto Moerbeek
More fixes to cpp arithmetic, sanitychecked by otto and stefan.
2007-10-21our as wants # as a comment charOtto Moerbeek
2007-10-21whack extdef() for the moment, it seems we do not need it and it tripsOtto Moerbeek
some bug as well (probably because of static data).
2007-10-20pull in exname() changes from ragge's repo. we're now back in syncOtto Moerbeek
2007-10-20sync with ragge's repoOtto Moerbeek
2007-10-20minor changes i missed on earlier merges with ragge's repoOtto Moerbeek
2007-10-20an usage message should fit on a 80-column displayIgor Sobrado
ok jmc@
2007-10-20add EDITOR and VISUAL to env_keepHenning Brauer
ok jsing ray kjell
2007-10-20Start of a powerpc backend by Gregory McGarry. Not complete yet.Otto Moerbeek
2007-10-20powerpc ccomOtto Moerbeek
2007-10-20Pull from master repo; commit by gmcgarryOtto Moerbeek
>Fix -Xp (prototype debug) which was interpretting structs/unions/enums >as arrays. Fix compile with TARGET_STDARGS.
2007-10-20Pull from master repo:Stefan Kempf
stlye(9) fixes from Sergey Elin This as ok ragge@, otto@
2007-10-19do setegid() before seteuid(); see pr 5605 for more info; ok millertTheo de Raadt
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@