summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2004-07-10xmalloc()->xrealloc() so that patterns larger than _POSIX2_LINE_MAX*2-1Otto Moerbeek
work. From mycroft@netbsd. ok millert@
2004-07-09#ifdef hpux only for m68k or hppa; this needs a revisit since this showsTheo de Raadt
something flawed in the way that the emulation system calls are being handled
2004-07-09better includes for syscalls from kernelMichael Shalayeff
2004-07-09From the other BSDs: fix a bug that made sed(1) fail if the lastOtto Moerbeek
character of the line buffer was a backslash. ok deraadt@
2004-07-09Properly detect if a patch already has been applied, even if thereOtto Moerbeek
are no eols at eofs involved. Tested by quite some people. ok deraadt@
2004-07-09You can only use strlcpy() on real C strings, which lf->buffer is not.Todd C. Miller
Use memcpy() instead and NUL terminate.
2004-07-09post-mortem stuff can go away here tooTheo de Raadt
2004-07-09remove post-mortem stuff (sysctl only here)Theo de Raadt
2004-07-09when saving a file, check whether it is newline terminated and if it is not,Vincent Labrecque
prompt the user and add the newline if he agrees. tested by a lot of helpful tech@ guys, approved by henning
2004-07-09typo from rohee@Jason McIntyre
2004-07-08make lint happier; vincent okTheo de Raadt
2004-07-08misplaced return NULL in the error pathVincent Labrecque
found by lint via deraadt ok deraadt
2004-07-08simplify the file writing loopVincent Labrecque
looked at by ian, tested on i386, macppc, sparc64
2004-07-08Prevent scp from skipping the file following a double-error.Darren Tucker
bz #863, ok markus@
2004-07-07- add shell prompt to command exampleJared Yanovich
- fix location of real diff3prog ok jmc@ otto@
2004-07-06various cleanupJared Yanovich
- fix overruns in overstrike() and iattr() - sort headers - sync usage output - some KNF - use err()/warn() where applicable ok millert@ otto@
2004-07-06add pgrep to .Nm line to allow `apropos/whatis pgrep' to work;Jason McIntyre
2004-07-06make -w optional to set options, so audioctl is consistent withVincent Labrecque
"new" sysctl/mixerctl ok millert@, "go for it" deraadt@
2004-07-05Use strtonum() instead of assigning the value of strtoul() to a uid_t/gid_t.Todd C. Miller
Fixes a warning on 64bit platforms and is less error-prone. OK otto@
2004-07-03move sysctl comment on namelist[] entryTheo de Raadt
2004-07-03Fixes from Jared Yanovich with help from myself and cloder@; OK otto@Todd C. Miller
o make lam(1) use getopt(3) and err(3). o fix off-by-one error o use OPEN_MAX instead of rolling our own o a little KNF
2004-07-03Put s/key functions inside #ifdef SKEY same as monitor.c,Darren Tucker
from des@freebsd via bz #330, ok markus@
2004-07-03Use '\0' not 0 for string; ok djm@, deraadt@Darren Tucker
2004-07-02Do not divide by zero in vmstat -t; Nikos Ntarmos.Miod Vallat
2004-07-01simpilfy warning() and wallMichael Shalayeff
2004-07-01warn vs perror; __progname; and wallMichael Shalayeff
2004-07-01use err/errx and __progname; -WallMichael Shalayeff
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@Otto Moerbeek
2004-06-30convert references in SEE ALSO to .Rs/.Re, w/ a little help fromJason McIntyre
netbsd page;
2004-06-30unbreak TTY break, diagnosed by darren AT dazwin.com; ok markus@Damien Miller
2004-06-29use warx instea of fprintfMichael Shalayeff
2004-06-29kill spacesMichael Shalayeff
2004-06-29use warn() instead of perror; err*() are used alreadyMichael Shalayeff
2004-06-29fix alaska and add helicopter and rocketMichael Shalayeff
2004-06-29repair, Chris Kuethe <ckuethe@ualberta.ca>Henning Brauer
2004-06-28add -vz to usage();Jason McIntyre
2004-06-28Remove unneeded -D flags from CFLAGS.Mathieu Sauve-Frankel
2004-06-28Unbreak. The bird noises were confusing me.Ryan Thomas McBride
2004-06-28Theo denys all allegations that he's becoming more relaxed.Ryan Thomas McBride
2004-06-28Remove special #if defined(__i386__) code from systat and vmstat. We now useAaron Campbell
sysctl to fetch interrupt counters on all architectures. Also add new '-z' flag to vmstat which means show all devices, even those that have not yet generated an interrupt. deraadt@ tholo@ drahn@ millert@ ok
2004-06-27free commit for non-attendieMichael Shalayeff
2004-06-27errno struct member -> err; ok millert@Marco S Hyman
2004-06-26initialise some fd variables to -1, djm@ okAnil Madhavapeddy
2004-06-26new sentence, new line;Jason McIntyre
2004-06-26punctuation and grammar fixes. also, keep the options in order.Jason McIntyre
2004-06-26- remove double wordJason McIntyre
- rearrange .Bk to keep SYNOPSIS nice - -M before -m in options description
2004-06-25bz #875: fix bad escape char error message; reported by f_mohr AT yahoo.deDamien Miller
2004-06-25remove netisoHenning Brauer
2004-06-25fix broken fd handling in the re-exec fallback path, particularly whenDamien Miller
/dev/crypto is in use; ok deraadt@ markus@
2004-06-25Fall back to stat+rename if filesystem doesn't doesn't support hardDarren Tucker
links. bz#823, ok djm@