summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2001-07-17Add a safe_print() function that uses vis(3) if output is a tty.Todd C. Miller
Uses the vis C-style mode which is consistent with what GNU tar does (though GNU tar does vis(3) regardless of whether output is a tty). It may make sense to add a flag to force vis(3)ification like ls does but I have not done that here as I'm reticent to add more flags.
2001-07-17make file-completion work with ~ (tilde)Camiel Dobbelaar
tested by provos@ and me
2001-07-09Compute %used in -P mode as a double, just like we do in normal printingTodd C. Miller
mode. Fixes an int wraparound problem noted by mike@erdelynet.com
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-09-WallTheo de Raadt
2001-07-05Fix length type.Marc Espie
2001-07-05Fix prototypesMarc Espie
2001-07-04Eat backslashes in regex's so things like:Todd C. Miller
-s '/\/bin\/cat/\/bin\/dog/' work. This means we have to be a bit more clever in finding the pattern delimeters (ie: not strchr).
2001-07-04Fix -s option, which never worked. We need to pass in the input stringTodd C. Miller
to resub() so we can copy the non-matching portion of the string to the destination. Closes PR #1889
2001-07-03Merge in pdksh-5.2.14-patches.2 to fix some problems with propagatedTodd C. Miller
return values in multi-command lines.
2001-06-27UVM is no longer an optionArtur Grabowski
2001-06-26really use strlcpy.lebel
2001-06-26really use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-06-26use strlcpy vs strncpy+a[len-1]='\0'lebel
2001-06-25unsmoke drugs.Artur Grabowski
2001-06-25had not noticed the atexit() handler; pointed out by dima@unixfreak.org; ↵Theo de Raadt
also use writev to increase atomicity
2001-06-25fix obvious warnings.Artur Grabowski
2001-06-25explicit braces to avoid ambiguous elseArtur Grabowski
2001-06-25implement 'stty ek' as documented; dima@unixfreak.orgTodd C. Miller
2001-06-23more .%A handling; bk@rt.fmTheo de Raadt
2001-06-23ok, tmac is now fixedTheo de Raadt
2001-06-23join .%A entries; most by bk@rt.fmTheo de Raadt
2001-06-22exit() from a signal handler is a sinTheo de Raadt
2001-06-22do not exit() from signal handlerTheo de Raadt
2001-06-22Avoid printing warnings about things like "is a directory" twice.Todd C. Miller
Found by fgs.
2001-06-22mark signal races, and remove junkTheo de Raadt
2001-06-13exit(errs) -> exit(errs!=0); sync with scp.c, ok deraadt@Markus Friedl
2001-06-13va_start/end for every call to vfprintf and friends, from scp.cMarkus Friedl
2001-06-08Correct STANDARDS section wrt removing directories; from FreeBSDTodd C. Miller
2001-06-08Don't give usage warning for 'rm -f' with no files to remove to beTodd C. Miller
consistent with other implementations.
2001-06-06In -p mode, set directory times in post-order pass since otherwise theTodd C. Miller
times get squashed when we add files to the dir. Problem found by Christophe.Deroulers@ens.fr, fix by me.
2001-06-03Nope, that's not right either. Fix check for mutually exclusive args.Todd C. Miller
2001-06-03sync man page with new usage restrictionsTodd C. Miller
2001-06-03Obvious thinko: command line is wrong if it's too short, not too long.Marc Espie
2001-06-03Use kern.nprocsAngelos D. Keromytis
2001-06-03Use sysctl to get process information, if kvm has not been initializedAngelos D. Keromytis
(which is still not the case).
2001-06-03Style.Angelos D. Keromytis
2001-06-03Use sysctl() to get fscale, ccpu, and physmem if we haven'tAngelos D. Keromytis
initialized kvm (won't happen for a while).
2001-06-02Fix some typos and add missing test for string of 1 million a's.Todd C. Miller
2001-06-02New md5/sha1/rmd160 driver with a BSD copyright. Improvements:Todd C. Miller
o options that should be mutually exclusive are o time trial works reasonably when it finishes in < 1 sec o uses a function table instead of a bunch of globals
2001-05-28Various fixes; mpech@prosoft.org.lvAaron Campbell
2001-05-26Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.Todd C. Miller
Change NET2_STAT into LONG_OFF_T for portability to systems with a 32bit off_t.
2001-05-25Remove unnecessary .Nm args; mpech@prosoft.org.lvAaron Campbell
2001-05-20exit and the prognameMichael Shalayeff
2001-05-20exit and use __prognameMichael Shalayeff
2001-05-20trade 3 exits for returnMichael Shalayeff
2001-05-19Use an explicit memcpy() to copy a stat struct. Fixes a mysteriousTodd C. Miller
Memory fault on my hp300 boxes. This is more than a little worrisome (and it doesn't show up on i386). The problem may actually be related to struct alignment and the recent fts struct changes.
2001-05-18return(0) is less than exit(0)Michael Shalayeff