Commit Graph

963 Commits

Author SHA1 Message Date
tg ce69e29ac2 regen 2004-12-10 15:03:08 +00:00
tg 2d1261b883 * better check for interix
* fail chvt() if no setsid()
2004-12-10 15:01:05 +00:00
tg 44abfaee70 regen and use revoke() only if found
XXX should use autoheader for config.h.in
2004-12-09 23:25:17 +00:00
tg 2ff774f6f5 check for revoke() existance and INTERIX_ROOT in the environment 2004-12-09 23:23:29 +00:00
tg 00e6b9e264 mksh R18 2004-12-09 20:08:49 +00:00
tg 1e6952da6a Changes by: otto@cvs.openbsd.org 2004/12/09 04:32:07
partially backout prevous commit, it breaks eval of ${a[@]}

(if it's not an array --mirabile)
2004-12-09 16:32:09 +00:00
tg 3de9499c1e Changes by: millert@cvs.openbsd.org 2004/12/08 14:23:19
Fix core dumps for ${@:?word} and ${foo[@]?bar}.  With help from
and OK otto@.  Closes PR 4023.
2004-12-08 23:00:14 +00:00
tg f668eac7b1 do it better 2004-12-07 18:01:50 +00:00
tg 6f06893fe2 docs updates 2004-12-07 17:57:58 +00:00
tg ff0d4b4121 1.17 and correct some typos in the test scripts 2004-12-05 16:16:32 +00:00
tg f680d29969 * sync strlfun.c
* update licence
* update to mksh 1.17
2004-12-05 16:10:58 +00:00
tg d3e5bf1ef2 * replace all occurences of old eMail addresses of mine
with their more recent counterparts
* no $Log keyword!
* update licence template to most recent version in files touched
* in some places, don't add our own licence boilerplate, just
  add my name to the others
* make dev/rndvar.h suitable for inclusion in asm code
* include dev/rndvar.h by in_cksum.s instead of
  hardcoding pool size
* ENTRY(a); ENTRY(b) -> NENTRY(a); ENTRY(b)
* RCS IDs belong into .comment not .text
2004-12-05 13:24:34 +00:00
tg bd9e0e49d3 manpage clarification
XXX 1) someone please clarify what of this, if at all,
XXX    applies to sh.1 (compiled with -DKSH) too
XXX 2) what about sh (compiled without -DKSH)?
2004-11-26 15:46:29 +00:00
tg 9fec84ac8e commit jaredy's fix as well as a fix of mine (fed back to jaredy)
now passes 193 tests
2004-11-26 15:43:53 +00:00
tg 5cb41399fe add a regression test which our current mksh does not pass,
but the one fixed by a diff by jaredy@openbsd (which intro-
duces other problems though):
Log message:
Change the behavior of IFS word-splitting:  split words
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.
2004-11-26 15:30:15 +00:00
tg 6b85a22986 leave stripping to the user 2004-11-13 17:16:22 +00:00
tg 6612f83855 did. anybody. ever. say. this. is. ok. in. HEAD? 2004-11-13 01:55:35 +00:00
tg 95bc91bffb nicen error msg (post-1.16!) 2004-11-10 20:08:21 +00:00
tg c53499b45e * Build.sh: bail out early if build failure
* Build.sh: fix manpage name
* chvt.c: Solaris:
   chvt.c:57: `TIOCSCTTY' undeclared (first use in this function)
* chvt.c: GNU/Linux:
   /tmp/ccrAeq0h.o(.text+0x5e): In function `chvt':
   : warning: warning: revoke is not implemented and will always fail
* sh.h: let it only change to .section .comment ifdef __ELF__
2004-11-10 19:58:06 +00:00
tg 53f8234d04 sync with ksh's idea of __attribute__(()) 2004-11-10 17:31:38 +00:00
tg d3e9042073 sync with my idea of __RCSID() 2004-11-10 17:29:55 +00:00
tg 7037f90d4d sync and bump to 1.16 2004-11-10 17:22:14 +00:00
tg 856e71aa7f hm, we removed the date from $KSH_VERSION a short while ago for size 2004-11-10 17:18:29 +00:00
tg ff8192c9b9 remove mail check functionality (everybody SANE uses uw, imaps and mbx now)
update notes
fix Build.sh
2004-11-10 17:13:11 +00:00
tg 84ac6fced0 some more 2004-11-10 17:01:11 +00:00
tg e8f4d97168 merge OpenBSD improvements
reword in parts
link to sh(C)
etc.
2004-11-10 16:52:08 +00:00
tg 7254095046 merge 2004-11-03 21:15:41 +00:00
tg c8e06d8245 merge 2004-11-03 15:33:01 +00:00
tg cff4fe1b0c restore text of original licence clause, even if it's got bad chars in it 2004-11-01 12:30:09 +00:00
tg ecaaa15aa7 whitespace fix in comment 2004-11-01 12:27:22 +00:00
tg 517090d4b2 no cksum builtins, I dream of 64 bit mksh rather 2004-11-01 12:17:47 +00:00
tg 06f6a128a8 unify usage of spaces vs tabs 2004-10-31 23:02:05 +00:00
tg 8581802651 apparently fix coredumps 2004-10-31 23:01:18 +00:00
tg 582bb62b81 add to mksh the unique ability to spawn on a different VT 2004-10-31 22:28:43 +00:00
tg 8d8e1fe56d you wouldn't expect RCS to play games with my hea^H^H^Hkeywords, would you? 2004-10-28 16:57:47 +00:00
tg 95a80834c9 regen, sync 2004-10-28 16:49:49 +00:00
tg ee2d2797a4 an array shalt have 4096 entries max. 2004-10-28 16:49:13 +00:00
tg 78a5e1d662 fixes for stuff, better display of mksh version, etc. 2004-10-28 16:35:03 +00:00
tg e0474a6042 some fixups for mksh 2004-10-28 16:19:01 +00:00
tg f69ea9226a mirbsdksh (portable) now installs as mksh(1) 2004-10-28 16:08:32 +00:00
tg 2fe18b5334 use .An and .Aq for author names and eMail addresses 2004-10-28 15:07:35 +00:00
tg b2de14e57c run GNU protoize
protect header files
nuke some dead code
regenerate configure script
let silly code die
2004-10-28 11:53:44 +00:00
tg dc7da8ddbf 2004-10-28 11:46:54 +00:00
tg 75e25d6e50 de-register, de-inline, de-__P 2004-10-28 11:11:19 +00:00
tg 7ad780aa98 -Wall -Werror -W -pedantic clean 2004-10-28 11:03:24 +00:00
tg 06411e2978 fix PATH
add 1023/2047 array elts mentioning to manpage
2004-09-21 14:03:58 +00:00
tg ecdd4d5568 unify spacing of RCS IDs 2004-09-21 11:57:17 +00:00
tg b2d9d27384 unify LINE/CMDLEN 2004-09-21 11:42:29 +00:00
tg 60cde7c92e another PATH_MAX 2004-09-21 11:37:29 +00:00
tg 9d91c29d45 use PATH_MAX instead of hardcoding 2004-09-21 11:33:41 +00:00