Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-12-22 | quitenv() proto should have the variable type only, not the name. | Todd C. Miller | |
2004-12-22 | These man pages are not derived from UCB and are actually public domain. | Todd C. Miller | |
Verified with aaron@ who did the conversion from man -> mdoc. | |||
2004-12-22 | Fix a use-after-free, that causs core dumps if a shell is killed | Otto Moerbeek | |
running with strict malloc.conf options. Problem spotted by hshoexer@; fix by me with some help from millert@. ok millert@ hshoexer@ krw@ deraadt@ | |||
2004-12-22 | Fix previous commit here, I add the case statement to the wrong switch. | Todd C. Miller | |
2004-12-22 | Our times(3) just calls getrusage(2) and gettimeofday(2), converting seconds | Todd C. Miller | |
to ticks. Since ksh needs things in seconds it then converted them back. Avoid the silliness and use the getrusage(2) and gettimeofday(2) directly. With man page help from jmc@ | |||
2004-12-22 | Make 'echo ${a[@]:?foo}' produce an error, not a core dump. | Todd C. Miller | |
Bug noticed by otto@. | |||
2004-12-22 | Use sys_signame and sys_siglist instead of building a list of signal | Todd C. Miller | |
values and names via an awk script. OK otto@ | |||
2004-12-22 | g/c str_zcpy() | Todd C. Miller | |
2004-12-22 | Use stdbool.h instead of rolling our own bools. | Todd C. Miller | |
2004-12-20 | Don't print an unnecessary trailing space character at the end of command | Aaron Campbell | |
argument display. This makes it easier to grep ps output for 'foo$', instead of having to use 'foo *$'. millert@ ok | |||
2004-12-20 | Ansification plus some minor knf. No binary change on i386 and | Otto Moerbeek | |
sparc64, binary change in lex.o on macppc due to introduction of dopprompt() prototype. ok millert@ | |||
2004-12-19 | spacing | Theo de Raadt | |
2004-12-19 | umask returns mode_t, not int | Todd C. Miller | |
2004-12-18 | Use _PATH_BSHELL instead of hardcoding "/bin/sh" | Todd C. Miller | |
2004-12-18 | remove GCC_FUNC_ATTR/GCC_FUNC_ATTR2 and just use __attribute__ directly | Todd C. Miller | |
(we define it away in sys/cdefs.h if it is not supported). | |||
2004-12-18 | Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC) | Todd C. Miller | |
2004-12-18 | Use struct termios instead of TTY_state typedef | Todd C. Miller | |
Use tc[gs]etattr() instead of [gs]et_tty() abstraction | |||
2004-12-18 | Flags set in signal handlers should be volatile sig_atomic_t | Todd C. Miller | |
2004-12-18 | Use the BSD sig_t instead of homegrown handler_t | Todd C. Miller | |
Remove KSH_SA_FLAGS | |||
2004-12-18 | deregister | Todd C. Miller | |
2004-12-18 | When invoked as sh set SH_VERSION, not KSH_VERSION like the man page says. | Todd C. Miller | |
2004-12-18 | Get rid of #ifdef KSH since we don't care about building a V7 style sh and | Todd C. Miller | |
the #ifdef KSH code is required to make a POSIX sh. From Matthias Kilian | |||
2004-12-18 | Use _POSIX_VDISABLE directly instead of assigning it to a variable. | Todd C. Miller | |
2004-12-18 | Remove unused OS dependent #ifdef blocks, #defines and macro abstraction. | Todd C. Miller | |
First step in making the ksh code easier to read. From Matthias Kilian | |||
2004-12-17 | sync usage | Jared Yanovich | |
manpage: - indent examples - document exit status ok jmc | |||
2004-12-16 | - document IFS behavior changes | Jared Yanovich | |
- grammar, punctuation, xref, mdoc tweaks - sort keywords - indent example displays - minimize against diffing between sh.1tbl - document set -o sh - tweak the displays of some editing and builtin commands - rework some operator descriptions ok jmc | |||
2004-12-15 | - adjust regression tests to recent IFS changes | Jared Yanovich | |
- add missing variable $ signs - add the IFS example mentioned in the manpage as a test based on diff from Thorsten Glaser ok millert | |||
2004-12-13 | Only warn if we try to cp(1) a socket. Consequently, this makes | Otto Moerbeek | |
mv(1)ing trees containing sockets across filesystems much more smooth. ok millert@ tedu@ fgsch@ pedro@ deraadt@ | |||
2004-12-13 | Use warnx() instead of warn() in four places where we know errno is zero. | Otto Moerbeek | |
ok henning@ fgsch@ pedro@ millert@ | |||
2004-12-13 | Restore sp before calling snptreef() so the error message contains | Todd C. Miller | |
the actual expression that caused the error. OK otto@ | |||
2004-12-13 | standard EXAMPLES; | Jason McIntyre | |
2004-12-13 | more references to hier(7), from mickey; | Jason McIntyre | |
2004-12-13 | make hier(7) more visible; | Jason McIntyre | |
tweak some stuff while i'm in here; | |||
2004-12-12 | escape punctuation; | Jason McIntyre | |
2004-12-12 | csh-style ! history completion, which can be activated by using | Theo de Raadt | |
set -o csh-history (off by default) this is not feature complete, and likely never will be. no ^ and ! has some oddities ... ksh's internal history stuff has got some very odd behaviours that are rather nasty ok various developers | |||
2004-12-10 | GNU md5sum uses tab not space to separate filename and hash. Fixes | Todd C. Miller | |
parsing of GNU-style checklist files for files with spaces in them. From Emil Mikulic; closes PR 4027 | |||
2004-12-10 | sort options + sync usage(); | Jason McIntyre | |
standard EXAMPLES; various other tweaks; ok millert@ | |||
2004-12-10 | flurry of updates: | Jared Yanovich | |
- be more consistent w.r.t. variables in macros with `.Ic' instead of `.Va' - document changes in IFS parsing - minimize diffs between ksh.1tbl and sh.1tbl w.r.t. `.Nm' macros and in other places - sort recognized keywords and remove dependency on tbl(1) - indent example displays - kill `bind' - collapse `test' display, it has two entries for `str', and use different args for file time tests - grammar, punctuation, and mdoc fixes - tidy display of `alias' and `kill' ok and bits from jmc | |||
2004-12-09 | partially backout prevous commit, it breaks eval of ${a[@]} | Otto Moerbeek | |
2004-12-08 | Fix core dumps for ${@:?word} and ${foo[@]?bar}. With help from | Todd C. Miller | |
and OK otto@. Closes PR 4023. | |||
2004-12-07 | Document cp(1) does not preserve hard links. With and ok jmc@ and millert@ | Otto Moerbeek | |
2004-12-04 | minor tweaks; ok jmc | Jared Yanovich | |
2004-11-29 | Build the table of created directories in-memory, instead of using | Otto Moerbeek | |
a tmp file. Makes it possible to unpack an archive without using /tmp, while memory usage is still within every reasonable limit. "love it" deraadt@ ok millert@ jaredy@ | |||
2004-11-29 | Spell precede correctly. | Jonathan Gray | |
'looks fine' millert@, krw@. ok jmc@ | |||
2004-11-25 | Change the behavior of IFS word-splitting: split words | Jared Yanovich | |
when the current character is IFS space and the last character was a word character or it was non-white IFS space and the current character is non-white IFS space. This deviates from the previous behavior because the latter splits words when the last character is any IFS space and the current is non-white IFS, resulting in more fields most of the time. This new behavior follows what the man page describes; i.e., that a field is delimited by one or more IFS whitespace characters followed by zero or one non-white IFS characters. Requires addition of a new substitution expansion state to handle the special case of empty fields at the beginning. testing by naddy ok jmc, millert, otto, deraadt | |||
2004-11-24 | remove obsolete `A' from `state' example; | Jason McIntyre | |
ok millert@ | |||
2004-11-24 | on MP machines, in STAT field, add /# where # is the cpu number so that | Theo de Raadt | |
you can see processes move around; ok pval millert | |||
2004-11-18 | Sync usage with man page; Paul de Weerd | Todd C. Miller | |
2004-11-18 | handle SONPROC; ok aaron, deraadt, krw | Markus Friedl | |
2004-11-17 | Document exit code, pointed out by Paul de Weerd. | Todd C. Miller | |