summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2005-07-06Only print a space separating argv and the real command (in parens)Todd C. Miller
when argv is non-NULL and empty. OK deraadt@ and fgsch@.
2005-07-01use a standard format for EXAMPLES;Jason McIntyre
2005-06-30Set tv_usec sensibly when calling utimes() instead of just zeroing it.Todd C. Miller
We have nsec file times so we may as well use them...
2005-06-15remove whiteout supportTodd C. Miller
2005-06-14whiteouts are goneTodd C. Miller
2005-06-13Fix writing of old-style tar headers. Filenames and linknames actuallyOtto Moerbeek
are not NUL terminated if the fill the whole field. ok millert@ jaredy@
2005-06-02add -O to getopt (ok otto) and sync usageJared Yanovich
2005-06-02sort optionsJared Yanovich
2005-06-02- simplify usageJared Yanovich
- rearrange examples - layout tweaks - minor macro, punctuation, etc. fixes ok jmc
2005-06-01add missing detail from IFS exampleJared Yanovich
Originally from TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp> from PR 4220 reminded by jmc
2005-05-28Use proper modules instead of relying on .ph files.Todd C. Miller
Use Getopt::Std instead of the perl4 getopts.pl
2005-05-27include sys/time.h to get struct timevalTodd C. Miller
2005-05-25add missing detail from IFS exampleJared Yanovich
From PR4220/TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>
2005-05-24-ansi considered harmful, even in commentsTodd C. Miller
2005-05-24-ansi means only expose ANSI interfaces which is not something we want...Todd C. Miller
2005-05-24variety of man page fixesJared Yanovich
- add non-legacy synopsis (and sync usage) - sort options - refer to synopsis arguments consistently - rearrange examples - mdoc tweaks - mention glob patterns for -t and -x ok jmc, otto
2005-05-13some Xr's from jason ackley;Jason McIntyre
2005-05-12.Xr script 7Jason McIntyre
2005-05-03some snprintf() -> strlcpy to improve readibility (and speed?)Nikolay Sturm
from rohee@, ok millert@ before 3.7
2005-05-02tweaks;Jason McIntyre
2005-05-01add eject -t option: permits tray to be closed (ie. insert a CD).Theo de Raadt
this uses the MTRETEN option split out getopt options for mt & eject, fix usage as well. ok krw (who is about to commit the back end changes for scsi..)
2005-04-28Use a special crafted string copy function to copy data from ustarOtto Moerbeek
headers to the generic pax structs. ustar is "funny" since some fields are not always NUL terminated. Old-style tar headers and ustar creation remains to be done. ok millert@ beck@
2005-04-26- do not list -f option for eject, as it is not necessaryJason McIntyre
- tidy up the options list somewhat to avoid confusion - sync usage() started by a diff from tom@ and ok'd by him;
2005-04-25Use the various f* functions to set owner, mode and times, insteadOtto Moerbeek
of operating on the path name. Avoids some races. ok deraadt@ cloder@ millert@
2005-04-23-c option may take either integer or name, not just integer;Jason McIntyre
diff from ray; ok sturm@
2005-04-21fix strlcpy abuse in pax - this commit turns potential overflows intoBob Beck
potential non-spec compliance - the use of these fields as strings needs to be revisited more thouroughly. ok millert@ otto@
2005-04-15check snprintf return value and abort if the concatenated path is tooUwe Stuehler
long instead of using the truncated path. also, use the strerror() database instead of repeating the text here. ok krw@, millert@
2005-04-14add the prefix length to nlen for ustar; ok otto millertMarkus Friedl
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2005-04-10Handle path names of exactly 100 chars correctly. Based on a diffOtto Moerbeek
from espie@. ok espie@ deraadt@
2005-04-08Sync with recent realpath(3) changes: on failure, don't use the secondJared Yanovich
argument "resolved", since it is undefined. ok and help millert, otto
2005-04-08Correct comment about using m in blocksize (multiplies by 1048576 not 512).Jonathan Gray
2005-04-05change incorrect filename in output on fstat() failureJared Yanovich
from Cedric Berger <cedric@berger.to> ok otto
2005-03-31copy argv[] element instead of smashing the one that ps will see; ok ottoTheo de Raadt
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
double checked to make sure no binaries change, and eyed by niallo
2005-03-28spacingTheo de Raadt
2005-03-28if argv[0] not set, do not set it to "pdksh", but to "ksh"Theo de Raadt
2005-03-28spacingTheo de Raadt
2005-03-24- sort optionsJason McIntyre
- sync usage() - remove unnecessary quoting
2005-03-16chown(8): mention that this utility clears setuid/setgid bits by default;Jason McIntyre
from stuart henderson (pr #4149); chown(2)/chown(8): mention that sysctl variable fs.posix.setuid=0 overrides this behaviour; from millert and otto; ok deraadt@ otto@ millert@
2005-03-13Use pid_t where appropriate. From Bruno Rohee (thanks).Chad Loder
2005-03-10wrap bind() to AF_UNIX with umask() to avoid raceTheo de Raadt
2005-03-10use fts_path if fts_name is not available, tweak and ok millertJared Yanovich
2005-03-07more macro simplification;Jason McIntyre
2005-03-07use .Pq rather than .Po/.Pc;Jason McIntyre
2005-03-04document that $HOME is shown as `~' for PS1 \w substitutions;Jason McIntyre
diff from niall o'higgins, pr 4132 (slightly reworded); ok otto@
2005-02-25no more Strncpy or Strncat, everTheo de Raadt
2005-02-25spacingTheo de Raadt
2005-02-25knfTheo de Raadt
2005-02-25avoid specifying which hash to use;Jason McIntyre
this after some discussion w/ otto; started by pr #4120, from andy isaacson;