summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2010-04-20fix trailing slashes in filenames behavior by *not* fixing it in systrace.Ted Unangst
code from netbsd. ok deraadt
2010-04-01tweak previous; ok deraadtJason McIntyre
2010-03-31Make a -DSMALL version of date(1) for the mediaTheo de Raadt
2010-03-27`b' and `c' arguments to mknod are not optional; from LEVAI DanielJason McIntyre
c_sh.c part from sobrado; ok millert guenther
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2010-03-24fix the cases where ${name#pat} and ${name%pat} will generate an empty wordFederico G. Schwindt
when they shouldn't. originally from mksh but modified to handle the case when the expr is quoted as noticed by halex@. input from guenther@ and halex@, millert@ ok
2010-02-26Array indices are limited to 0 through 10239 now.william
ok jmc deraadt
2010-02-25get rid of overlapping blocks discouraged by mdoc.samples(7);Ingo Schwarze
found by and unbreaking the build with mandoc(1); "fine" jmc@ sobrado@
2010-02-14Avoid overflow and wraparound in memory fields by using unsignedPhilip Guenthe
long long arithmetic and formats. Use PTRWIDTH for the column size for various address fields. ok otto@ tedu@
2010-01-12sync comment with reality, -f won't be documented.Jasper Lievisse Adriaanse
as discussed with jmc@, otto@ and millert@ ok otto@ millert@
2010-01-10remove references to docs we no longer install;Jason McIntyre
2010-01-04Crank max array size in ksh to 10K-1, since 2047 is too restrictive.Theo de Raadt
Please keep in mind that ksh accesses are not O(1) in any sense. Needed by todd, ok otto, guenther
2010-01-04Stop installing many of the incredibly dated and un-authoritative share/docTheo de Raadt
files. If any information found in these documents is worthwhile and you miss it, please make the time to work it into the manual pages (which people actually do read). ok guenther
2009-12-22- two more typo's spotted by Brad TilleyJasper Lievisse Adriaanse
2009-12-22- tyop, spotted by Brad TilleyJasper Lievisse Adriaanse
2009-12-13remember to restore errno (ie. stop someone from making a mistake later)Theo de Raadt
ok guenther
2009-12-12a dangling do / while that was very very uglyTheo de Raadt
2009-11-13stop the options string leak if it is not attached into the optionsTheo de Raadt
linked list, found by parfait, ok jsg
2009-11-12memory leak in one more case, found by parfait; ok jsgTheo de Raadt
2009-11-12Do realloc() the paranoid way, at the very least to once again educateTheo de Raadt
people about the potential for memory leaks when realloc is use sloppily ok miod
2009-11-12Only allocate memory for the regex after we've validated it insteadTodd C. Miller
of allocating and later freeing if we didn't use it. OK deraadt@ miod@
2009-11-12memory leak if regex fails, found by parfait; ok miodTheo de Raadt
2009-11-11incorrect range check, > vs >=, on the error list, spotted by parfaitTheo de Raadt
ok otto jsg
2009-11-09simplify the sub-ioctl functionTheo de Raadt
2009-11-07repair local operations after the -DRMT changes; from Matthew ClarkeTheo de Raadt
2009-10-28Use strtonum() instead of atoi() so that ridiculous sloppy things likeTheo de Raadt
ispeed -38400 baud; ospeed 38400 baud; 24 rows; 80 columns; and % stty rows -45; stty size 65491 80 don't happen. ok millert guenther
2009-10-28Err out if either sigaction fails and not just when both do.Philip Guenthe
ok otto@
2009-10-28one more () for halexTheo de Raadt
2009-10-28The min and time settings in stty -g output are in hex, not decimal, soPhilip Guenthe
parse them as such. ok deraadt@
2009-10-28Add a compile option (-DRMT) which decides if remote tape support (via rcmd)Theo de Raadt
is supported. If not, disable it. ok guenther
2009-10-28the code to support -DDES spread it's way outside of -DDES... fix thatTheo de Raadt
ok guenther
2009-10-28some includes got lost in the previous commit;Ingo Schwarze
"go ahead, put it back" deraadt@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-09-10improve DESCRIPTION: note that hostname(1) can actually set the hostname,Jason McIntyre
like its description says it can;
2009-08-21- more opaque removalJason McIntyre
- sort the flags list while here ok martynas tedu
2009-08-20- arch is superuser-onlyMartynas Venckus
- opaque is gone with/ok tedu@, millert@
2009-08-16replace ".Ar file ..." with ".Ar" whenever possible.Igor Sobrado
ok jmc@
2009-08-14sort list of flags.Igor Sobrado
2009-08-05ustar format consists of prefix = 155 octets; name = 100 octetsMartynas Venckus
prefix (155) + / (1) + name (100) = 256 characters; not 255 characters ok otto@, millert@
2009-07-22The last paragraphs of the "Built-in commands" section are properlyPhilip Guenthe
part of the '@' command and not general section paragraphs and therefore should be indented with the others. ok jmc@
2009-07-02avoid infinite recursion if unlink fails. reported by Stefan PetterssonMartynas Venckus
ok theo, millert@
2009-06-29make VSEARCH werase act like regular werase after the last change.Martynas Venckus
vi back-words and emacs kill-region are not completely the same. ok merdely@, millert@. "Get it in" Darrin Chandler
2009-06-10Fix problem with ^w fix that broke 'B'Michael Erdely
Found by Daniel LEVAI Fix by Darrin Chandler ok millert@
2009-06-04- sync the descriptions of -h and -kJason McIntyre
- note that the last -h or -k specified takes precedence the latter part based on a diff from Daniel Dickman, with text from ls.1 ok otto millert
2009-06-04"make ksh vi mode handle werase more like vi. It's really irritating toMichael Erdely
have whole paths go away on ^W instead of just the last bit." "That looks right to me" millert@, "YES kthx bye!" thib@
2009-06-02fix macro handlingAlexander Hall
2009-06-01please sthen the 80 character pedantTheo de Raadt
2009-06-01"let --" was crashing ksh; found by phy0@rambler.ru. Various other expressionsTheo de Raadt
involving ++ and -- also ran into this. Insufficient checks for end of parse in the tokenizer made it assume that an lvalue had been found ok millert otto
2009-06-01Simplify newline stripping after fgets.Ray Lai
OK millert
2009-05-28fix missing bracket by slightly rewriting; from Alan R. S. BuenoJason McIntyre