summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2016-01-01don't declar main. from Michal MazurekTed Unangst
2015-12-31Document the -h option for chmod and chflags, rewording the chgrp(1) andPhilip Guenther
chown(8) manpages to be consistent and clearer about it as well.
2015-12-30add another combo for home/end keys that works in tmux.Ted Unangst
ok bmercer gsoares nicm sthen
2015-12-30rename a few variables/functions to avoid shadowingTed Unangst
2015-12-30rename global "e" to genv to avoid accidental shadowing and aliasing.Ted Unangst
ok millert nicm tb
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
OK tb@ jsg@
2015-12-29Remove reference to $ERRNO, which was been unimplemented for >= 19mmcc
years. From Michael Reed. ok halex@
2015-12-27Tweak comment: we now always make a copy of argv.Jeremie Courreges-Anglas
ok halex@
2015-12-27unconditionally duplicate the argv array on initialization, to make itAlexander Hall
resilient against being altered by a subsequent shift operation tweak and ok semarie@
2015-12-27remove unused variableCharles Longeau
ok tedu@
2015-12-26remove special characters; diff from michael reedJason McIntyre
2015-12-26Set the times, mode, and flags on symlinks when doing cp -p (or mv acrossPhilip Guenther
filesystems) problem noted by Carsten Kunze (carsten.kunze (at) arcor.de)
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre
OK mmcc@
2015-12-24More adress -> addressmmcc
2015-12-22Assign pointer variables to NULL rather than 0. No functional change.mmcc
2015-12-22Remove a needless allocation cast. No binary change.mmcc
2015-12-21Replace an ugly bit of pointer arithmetic with a conditional expression.mmcc
"seems sound" deraadt@
2015-12-16Replace "tame" by "pledge" in a comment.tb
2015-12-14Move system headers from sh.h to those files that actually need them.tb
ok mmcc@ a while ago
2015-12-14Remove a superfluous macro. No binary change. ok tb@mmcc
2015-12-10In emacs command-line editing mode, make sure that moving left andIngo 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-09Remove NULL-check before free(). ok tb@mmcc
2015-12-06Remove a 250-line catalog of AT&T ksh bugs. ok tedummcc
2015-12-06pledge "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-06Use __progname instead of manually handling argv[0].Tobias Stoeckmann
ok deraadt, mmcc, tedu
2015-12-05Remove some more pdksh-specific stuff and references to files that nommcc
longer exist.
2015-12-05Remove descriptions of files that no longer exist.mmcc
2015-12-05Remove needless reference to LEGAL, which is likely outdated itself.mmcc
2015-12-05Remove some bug report guidelines from pdksh that aren't relevant to us.mmcc
2015-12-02comment typommcc
2015-12-01Support UTF-8: use wcwidth(3) for column adjustment and replaceIngo 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-27the rm code in mv inherited pledge from rm. it shoud be safe, but thereTed 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-27Use strlcpy to copy strings in struct mount, not memmove. AvoidsTodd C. Miller
reading past the end of a buffer. Problem found and OK jsg@
2015-11-24Revert previous tweak, pending a more complete rewording. Discussed withmmcc
halex@, sthen@, jmc@.
2015-11-22This man page uses "Note that" profusely, which is generally consideredmmcc
bad writing style. Also, add a paragraph break and split up a megasentence.
2015-11-22Don't use pdksh for self-reference and remove needless historicalmmcc
context.
2015-11-22Remove commented-out BUGS section that directs reports to long-extinctmmcc
upstream.
2015-11-21"one" -> "one or more"mmcc
2015-11-20honestly i think you should just zap that paragraph - it doesn;t maketb
sense to document that posix more or less says something should happen, and that it does. jmc
2015-11-20Cannot pledge bottom half of setting, because of the ioctl backingTheo de Raadt
"extproc", "ostart" and "ostop" are not allowed (yet?)
2015-11-20KNFTheo de Raadt
2015-11-20remove unused prototypetb
ok mmcc@
2015-11-20make ed restore the user defined prompt (specified with -p) when it was turnedtb
off and then on again with 'P'. ok daniel@
2015-11-18Only unget match[] if it has been used, ok sthenNicholas Marriott
2015-11-17as in rm, needs getpw in pledgeTed Unangst
2015-11-17don't need locale header anymoreTed Unangst
2015-11-17overwriting code isn't usedTed Unangst
2015-11-17int -> size_t for a len fieldmmcc
ok guenther@, deraadt@
2015-11-17remove some more flagsTed Unangst
2015-11-17trim down the flags in rmTed Unangst