summaryrefslogtreecommitdiff
path: root/bin/ksh/main.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-02-20When evaluating an arithmetical expression, for example inside $(()),Ingo Schwarze
2018-11-20Fix the case where the recursion detection isn't reset when the command isMartijn van Duren
2018-11-17Use a very regular call pattern to pledge, so that we can continue toTheo de Raadt
2018-11-16Include "id" in pledge (for setres[ug]id, setgroups) if the shell isNicholas Marriott
2018-09-29Export the PWD and OLDPWD shell variables as per POSIX.Todd C. Miller
2018-05-18remove the alias type='whence -v' and replace it withSebastian Benoit
2018-04-09Support 64 bit integers on 32 bit architectures.Tobias Stoeckmann
2018-03-15Favor usage of __func__ in warning/error messages. Some of them referred to theanton
2018-01-16Introduce internal_warningf() and mark internal_errorf() as noreturnJeremie Courreges-Anglas
2018-01-15Stop pretending we support building ksh without EDIT/HISTORY supportJeremie Courreges-Anglas
2018-01-14unifdef BRACE_EXPAND; ok jca@anton
2018-01-05unifdef JOBS supportJeremie Courreges-Anglas
2017-12-12Include hostname in shell prompts by defaultTheo Buehler
2017-12-07Drop the unused second argument from set_prompt(). It used to be used forTheo Buehler
2017-08-11Retire old behavior of requiring root prompt to contain # or \!Philip Guenther
2016-10-17No need to inspect LC_CTYPE:Ingo Schwarze
2016-10-11Partial UTF-8 line editing support for ksh(1) vi input mode;Ingo Schwarze
2016-09-08Mark PPID read-only as per the manual. From Anthony Coulter.Todd C. Miller
2016-03-04remove CSRG BSD-licensed mknod builtin code which was previously used toTheo de Raadt
2015-12-30rename global "e" to genv to avoid accidental shadowing and aliasing.Ted Unangst
2015-12-27Tweak comment: we now always make a copy of argv.Jeremie Courreges-Anglas
2015-12-27unconditionally duplicate the argv array on initialization, to make itAlexander Hall
2015-12-14Move system headers from sh.h to those files that actually need them.tb
2015-11-11exit() after perror() for pledge failure. Perhaps this got introducedTheo de Raadt
2015-11-01Add uses of areallocarray(). mksh and Bitrig ksh already have similarmmcc
2015-10-30'fc -e -' is deprecated in favor of 'fc -s', so update the built-in aliasPhilip Guenther
2015-10-22Final removal of EXTERN.mmcc
2015-10-21Penultimate commit to remove EXTERN.mmcc
2015-10-19Move string.h include from sh.h to the files that use it.mmcc
2015-10-19More removal of EXTERN.mmcc
2015-10-19Apply style(9) to header includes.mmcc
2015-10-18Move more EXTERN-defined globals from sh.h.mmcc
2015-10-17Move a system header include from the global header (sh.h) into themmcc
2015-10-16wrap a long lineTheo de Raadt
2015-10-16Implement real "flock" request and add it to userland programs thatTodd C. Miller
2015-10-10normalize a few more tame request orderings, to help reviewTheo de Raadt
2015-10-10ksh can run with pledge "stdio rpath wpath cpath getpw fattr proc exec tty"Theo de Raadt
2015-09-18Last of the (thing *)0 -> NULL, from Michael McConville. No binaryNicholas Marriott
2015-09-17Remove unnecessary casts, from Michael McConville. No binary change.Nicholas Marriott
2015-09-15correct spelling of NULL from (char *)0. from Michael McConville.Ted Unangst
2015-09-10Replace newline and space defines by "\n" and " " directly, from MichaelNicholas Marriott
2015-09-01no need to check for null argv anymore. from Martijn van DurenTed Unangst
2015-02-09If we hit multiple errors while unwinding we'll end up running code thatJonathan Gray
2013-11-28remove trailing whitespaces; use tabs instead of spaces where appropriate;Igor Sobrado
2013-09-04Add a proper suspend builtin that saves/restores the tty and pgrpTodd C. Miller
2013-06-15Run any pending traps before calling the EXIT or ERR traps when -eTodd C. Miller
2012-09-10fake a sigwinch after each job, so if the terminal changes size,Ted Unangst
2012-09-06Avoid modifying argv when building argv for $* and $@ since it willTodd C. Miller
2012-09-05backout, Todd's version may be cleaner, but it's also wrong.Marc Espie