summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2003-05-05document the new -f <mode> command line option.Vincent Labrecque
ok jmc
2003-05-05dont write too much data when disconnecting in biz22, also use sizeofAnil Madhavapeddy
in biz31 for consistency. millert@ ok
2003-05-05add a mail-mode, to do automatic line-wrapping.Vincent Labrecque
(at the same time, change the command line parsing to support a -f <mode> that is slightly different from the one in gnu emacs, we apply it to all buffers created from command line arguments, so you can use "mg -f mail-mode" as your editor. manpage change coming soon) ok henning
2003-05-04the buffer to getcwd(3) should be PATH_MAX in size, not MAX_FNAMEAnil Madhavapeddy
to avoid unnecessary truncation millert@ ok
2003-05-03these files all had >9 arguments to .Nd, causing the name description to beJason McIntyre
truncated. i wrapped them in double quotes to preserve the line. grep inspired by an -mdoc lesson from millert@
2003-05-02Update to conform to Posix 1003.1-2001.Nils Nordman
* what now accepts a -s parameter which causes it to quit searching after finding the first match. * stdin is no longer valid for input, one or more filenames have to be provided. * Backslash is recoqnized as a pattern delimiter. * The exit status reflects the number of mathes found (0 if any matches were found, 1 otherwise). Also replace strncpy -> strlcpy. Mostly a sync with netbsd. Input pjanzen@, vincent@. ok millert@.
2003-05-02o Don't close stdout in interactive mode; mpech@Todd C. Miller
Extra paranoia: o Close keyfile by hand each time in -a mode so we don't leak an fd to sendmail o If any of std{out,in,err} are not open, open /dev/null in their stead. o If stdout is not open and -i was specified, just exit since there is nowhere to print the info. Thanks for mpech@ for his testing and bug finding ;-)
2003-05-01i386 is elf now; pt out by ldcosta@arnet.com.arMichael Shalayeff
2003-05-013.3 has left the building...Michael Shalayeff
2003-04-30strvis -> strnvisVincent Labrecque
ok millert
2003-04-30strvis -> strnvis, and add a place for the NUL byte that was missingVincent Labrecque
ok millert
2003-04-30strvis -> strnvisVincent Labrecque
ok millert
2003-04-30fix invalid .Pf macro usage introduced in previous commitDavid Krause
ok jmc@ mouring@
2003-04-30Add missing period.Todd C. Miller
2003-04-30kill warning about implicit decl of strlenJason Wright
2003-04-30Escape ?, * and ! in .Ql for nroff compatibility. OpenSSH Portable Bug #550mouring
and * escaping suggested by jmc@.
2003-04-29fix the clean thursday; from tm@openbsd.ruMichael Shalayeff
2003-04-28Don't try to close key.keyfile in -a mode, skeygetnext() will haveTodd C. Miller
already done it and we are headed for exit anyway.
2003-04-28string cleaning. ok millert@ tdeval@Ted Unangst
2003-04-28stdlib.hTheo de Raadt
2003-04-26get rid of incorrectly sized buffer by using strdup/asprintf,Peter Valchev
also simplifies things; ok millert
2003-04-26-t in usage(); rogier@quaak.orgTheo de Raadt
2003-04-26string cleaningTheo de Raadt
2003-04-26string cleaning; ok tdevalTheo de Raadt
2003-04-25commentTheo de Raadt
2003-04-25oopsTheo de Raadt
2003-04-25sprintf -> snprintf and add a couple of size checks to ensure againstKenneth R Westerback
overflow. ok tdeval@ deraadt@ dhartmei@
2003-04-25fix commentTheo de Raadt
2003-04-25sprintf bye byeTheo de Raadt
2003-04-25comment fixTheo de Raadt
2003-04-25check asprintf return value for error, as the pointer is not guaranteedPeter Valchev
to be NULL in such case; ok millert
2003-04-25Don't assume that asprintf() will leave "tempfile" unmolested whenTodd C. Miller
memory allocation fails. Noted and OK by pval@
2003-04-25add bounds to some more %s in sscanfAnil Madhavapeddy
ok millert@
2003-04-25add missing .El's for .Bl macros;Jason McIntyre
2003-04-25minor tweak to error message, from Eric in pr3235Ted Unangst
2003-04-22some entries from encyclopedia 'holy ross' by o. platonovMichael Shalayeff
2003-04-22Tell glob() to do tilde and brace expansion too.Todd C. Miller
2003-04-21Stop parsing arguments when we hit "--".Todd C. Miller
2003-04-21build expanded brace with more explicit bound checking.Marc Espie
okay millert@
2003-04-21mdocify; apparently no one every reads this man page.Todd C. Miller
2003-04-21mdoc version from NetBSD (wiz) with minor modifications and local changes.Todd C. Miller
2003-04-21Use strlcpy() and snprintf() in favor of inline strcpy() and sprintf().Todd C. Miller
Based on a diff from krw but this uses the strlcpy() / snprintf() return values. millert tested, krw approved...
2003-04-19string handling, ok deraadt@Daniel Hartmeier
2003-04-19string handling, partly from and ok deraadt@Daniel Hartmeier
2003-04-19sync w/ the sudo cvs tree and sudo 1.6.7p4Todd C. Miller
2003-04-19strcpy/strcat/sprintf removal; krw@ OKTodd C. Miller
2003-04-18hackers of the planet earthMichael Shalayeff
2003-04-18get someMichael Shalayeff
2003-04-17Hard-code charset if SMALLTodd C. Miller
2003-04-17nuke strcpy + -WallHenning Brauer
parts from and ok mickey@