Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-13 | fix exit status on pledge fail, eval here should be 2. | Gleydson Soares | |
OK tb@ | |||
2016-01-10 | Partial revert: put back the file fmt.c. | Ingo Schwarze | |
It's no longer used by ps(1), but w(1) reaches around to it. Cluestick applied by deraadt@. | |||
2016-01-10 | UTF-8 support: | Ingo Schwarze | |
In a UTF-8 locale, columnate correctly and replace valid, but non- printable characters with the Unicode replacement character U+FFFD. No change in the C/POSIX locale, and no change for invalid bytes. Grand total, the code becomes shorter by almost 30 lines. Feedback from czarkoff@, OK millert@. | |||
2016-01-09 | Replace "function call" with "function" when referring to a function | mmcc | |
(well, a syscall, but this is the established practice) in the general sense. ok jmc@ | |||
2016-01-08 | Next step in UTF-8 support: | Ingo Schwarze | |
1. Improve all functions involving words by allowing non-ASCII characters to be part of words. 2. Allow insertion of non-ASCII characters without screwing up the display, by backing up to the start byte after inserting a continuation byte, and starting to re-print there. 3. Fix forward movement which i didn't get quite right in my previous commit: Always advance to a start byte, never to a final continuation byte, or the next insertion would split the character in the middle. OK mpi@ | |||
2016-01-07 | need to increase INT_MAX to 64 bits too. from Nathan Holstein | Ted Unangst | |
2016-01-06 | use int64_t for arithmetic. 64 bits ought to be enough for anyone. | Ted Unangst | |
ok deraadt millert schwarze | |||
2016-01-01 | don't declar main. from Michal Mazurek | Ted Unangst | |
2015-12-31 | Document the -h option for chmod and chflags, rewording the chgrp(1) and | Philip Guenther | |
chown(8) manpages to be consistent and clearer about it as well. | |||
2015-12-30 | add another combo for home/end keys that works in tmux. | Ted Unangst | |
ok bmercer gsoares nicm sthen | |||
2015-12-30 | rename a few variables/functions to avoid shadowing | Ted Unangst | |
2015-12-30 | rename global "e" to genv to avoid accidental shadowing and aliasing. | Ted Unangst | |
ok millert nicm tb | |||
2015-12-29 | fix exit status on pledge(2) failure. | Gleydson Soares | |
OK tb@ jsg@ | |||
2015-12-29 | Remove reference to $ERRNO, which was been unimplemented for >= 19 | mmcc | |
years. From Michael Reed. ok halex@ | |||
2015-12-27 | Tweak comment: we now always make a copy of argv. | Jeremie Courreges-Anglas | |
ok halex@ | |||
2015-12-27 | unconditionally duplicate the argv array on initialization, to make it | Alexander Hall | |
resilient against being altered by a subsequent shift operation tweak and ok semarie@ | |||
2015-12-27 | remove unused variable | Charles Longeau | |
ok tedu@ | |||
2015-12-26 | remove special characters; diff from michael reed | Jason McIntyre | |
2015-12-26 | Set the times, mode, and flags on symlinks when doing cp -p (or mv across | Philip Guenther | |
filesystems) problem noted by Carsten Kunze (carsten.kunze (at) arcor.de) | |||
2015-12-26 | Replace handrolled xfree() function by directly using free(3) | mestre | |
OK mmcc@ | |||
2015-12-24 | More adress -> address | mmcc | |
2015-12-22 | Assign pointer variables to NULL rather than 0. No functional change. | mmcc | |
2015-12-22 | Remove a needless allocation cast. No binary change. | mmcc | |
2015-12-21 | Replace an ugly bit of pointer arithmetic with a conditional expression. | mmcc | |
"seems sound" deraadt@ | |||
2015-12-16 | Replace "tame" by "pledge" in a comment. | tb | |
2015-12-14 | Move system headers from sh.h to those files that actually need them. | tb | |
ok mmcc@ a while ago | |||
2015-12-14 | Remove a superfluous macro. No binary change. ok tb@ | mmcc | |
2015-12-10 | In emacs command-line editing mode, make sure that moving left and | Ingo Schwarze | |
right can only move by whole characters, not into the middle of a character, and that deleting characters can only delete characters whole, not individual bytes out of characters. Based on parts of a patch by Frederic Nowak <fnwk at mailbox dot org>, tweaked by me. OK tedu@ semarie@ mpi@ | |||
2015-12-09 | Remove NULL-check before free(). ok tb@ | mmcc | |
2015-12-06 | Remove a 250-line catalog of AT&T ksh bugs. ok tedu | mmcc | |
2015-12-06 | pledge "dpath" to allow creation of nodes via mkfifo(2) and mknod(2) | Theo de Raadt | |
NOTE: dpath requires a fairly new kernel ok semarie | |||
2015-12-06 | Use __progname instead of manually handling argv[0]. | Tobias Stoeckmann | |
ok deraadt, mmcc, tedu | |||
2015-12-05 | Remove some more pdksh-specific stuff and references to files that no | mmcc | |
longer exist. | |||
2015-12-05 | Remove descriptions of files that no longer exist. | mmcc | |
2015-12-05 | Remove needless reference to LEGAL, which is likely outdated itself. | mmcc | |
2015-12-05 | Remove some bug report guidelines from pdksh that aren't relevant to us. | mmcc | |
2015-12-02 | comment typo | mmcc | |
2015-12-01 | Support UTF-8: use wcwidth(3) for column adjustment and replace | Ingo Schwarze | |
non-printable Unicode codepoints and invalid bytes with ASCII question marks. No change for the SMALL version. Using ideas developed by tedu@, phessler@, bentley@ and feedback from many. OK yasuoka@ czarkoff@ sthen@. | |||
2015-11-27 | the rm code in mv inherited pledge from rm. it shoud be safe, but there | Ted Unangst | |
are cases when it is too strict. after pledge() we continue to run some of the cp code which requires a very broad set of permissions. remove pledge entirely for now, pending a complete analysis of needs. | |||
2015-11-27 | Use strlcpy to copy strings in struct mount, not memmove. Avoids | Todd C. Miller | |
reading past the end of a buffer. Problem found and OK jsg@ | |||
2015-11-24 | Revert previous tweak, pending a more complete rewording. Discussed with | mmcc | |
halex@, sthen@, jmc@. | |||
2015-11-22 | This man page uses "Note that" profusely, which is generally considered | mmcc | |
bad writing style. Also, add a paragraph break and split up a megasentence. | |||
2015-11-22 | Don't use pdksh for self-reference and remove needless historical | mmcc | |
context. | |||
2015-11-22 | Remove commented-out BUGS section that directs reports to long-extinct | mmcc | |
upstream. | |||
2015-11-21 | "one" -> "one or more" | mmcc | |
2015-11-20 | honestly i think you should just zap that paragraph - it doesn;t make | tb | |
sense to document that posix more or less says something should happen, and that it does. jmc | |||
2015-11-20 | Cannot pledge bottom half of setting, because of the ioctl backing | Theo de Raadt | |
"extproc", "ostart" and "ostop" are not allowed (yet?) | |||
2015-11-20 | KNF | Theo de Raadt | |
2015-11-20 | remove unused prototype | tb | |
ok mmcc@ | |||
2015-11-20 | make ed restore the user defined prompt (specified with -p) when it was turned | tb | |
off and then on again with 'P'. ok daniel@ |