summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
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;
2005-02-21Set \u in prompt expansion to the right value, while avoiding getpw* calls,Otto Moerbeek
which might be very inconvenient when the yp server is not available. ok deraadt@ millert@
2005-02-20Better handling of large filesystems, okay henning@ and millert@, withPedro Martelletto
input from martin@ and miod@.
2005-02-18sort options to echo builtin;Jason McIntyre
2005-02-17Printt ^D and newline on EOF in emacs mode like in vi mode.Otto Moerbeek
Help and ok jaredy@ ok millert@
2005-02-16a note about why we have both EDITOR and VISUAL env vars;Jason McIntyre
ok otto@ jaredy@
2005-02-16document that `emacs' is the default editing mode, and that as wellJason McIntyre
as being set explicitly w/ `set', modes can also be set using EDITOR and VISUAL; ok jaredy@ otto@
2005-02-08- rearrange EXAMPLESJared Yanovich
- move env var stuff to ENVIRONMENT - clarify "status" description - sort & simplify commands ok jmc
2005-02-08oops, missed a prompt;Jason McIntyre
2005-02-08use command prompts and literal for commands;Jason McIntyre
2005-02-08big overhaul of these pages, to make them clearer to read;Jason McIntyre
various other issues fixed along the way; lots of stuff from jaredy@ in here too..
2005-02-08Move sh.1tbl -> sh.1 and ksh.1tbl -> ksh.1Todd C. Miller
2005-02-05note that symlinks in test file are followed, except -h and -LJason McIntyre
(just like test(1) does); from paul de weerd;
2005-02-02argv/argc are unusedJolan Luff
2005-02-02Introduce POSIX hex and octal (0x... and 0...) constants in arithmeticOtto Moerbeek
expressions. Work by Matthias Kilian, based on an old diff by myself. Note: MAKEDEV should be updated. Tested by many, thanks. ok millert@ deraadt@
2005-01-28widen the avail/used columns by one space to accomodate for >100g ↵Michael Shalayeff
filesystems. the total is already wide enough due to the header length; dhartmei@ ok
2005-01-27fix some vi-mode bugs spotted by jmc@Dan Harnett
tested by jmc@, ok otto@
2005-01-21fix missing list item: *(...); spotted by Frank Sander frksndr atOtto Moerbeek
gmx dot de. ok jmc@
2005-01-19typo;Jason McIntyre
2005-01-19although the description for the `comment' bind was in the page,Jason McIntyre
the bind itself (^[#) was missing;
2005-01-17typo;Jason McIntyre
2005-01-14bring back the space before (cmd); ok millert aaronTheo de Raadt
2005-01-10Remove unneccesary cast to long long and %llu format; print using %lu.Otto Moerbeek
Spotted by tom@, ok millert@
2005-01-10In csh-style history expansion, initialize s->u.freeme to NULL so weTodd C. Miller
don't try to free garbage on cleanup. Fixes problem noticed by david@
2005-01-10-l outputs total always, not just to terminals (netbsd -r 1.50);Jason McIntyre
-l output is one per line (like -1); -x also inhibits one per line output;
2005-01-10typo;Jason McIntyre
2005-01-07avoid negative memory sizes, ok deraadt@Otto Moerbeek