Subject: CVS commit: pkgsrc/shells/mksh
From: Adam Hoka
Date: 2009-06-03 15:46:03
Message id: 20090603134603.841C5175D0@cvs.netbsd.org

Log Message:
Update to mksh R38b:

mksh R38b fixes the following problems:

    *  [André Wösten] Add __NO_EXT_QNX to avoid picking up the wrong
        waitfor() from <libutil.h> in (while porting to) QNX 6.4

    *  [tg] Plug memory corruption issue introduced in R38

    *  [tg] Amend dot.mkshrc with a base64 en-/decoder in shell

    *  [tg] Import a manpage fix via OpenBSD from Alan R. S. Bueno

mksh R38 comes with these changes and fixes applied:

    *  [tg] Improve regression test output debugging

    *  [tg] Fix <libutil.h> prerequisites on MidnightBSD in mirtoconf

    *  [tg] Mention that RedHat BZ#496791 cannot currently be fixed in the
        manpage by discouraging use of apostrophes in comments in comsubs; add
        appropriate (expected-fail) regression tests

    *  [tg] Sync with OpenBSD ksh (mostly a no-op)

    *  [James Butler] Add search-history-up and search-history-down keybindings
        (tcsh-like) to the Emacs command line editing mode

    *  [tg] Bind new search-history-{up,down} to ANSI PgUp and PgDn keys

    *  [tg] Document ANSI default keybindings (↑↓←→ Home End \ 
Del PgUp PgDn)
        in the mksh(1) manual page as well

    *  [tg] Optimise internal UTF-8 handling code for size and reusability

    *  [tg] Incompatible change: ${foo:1:2} and ${#foo} now
        operate on characters, not on bytes. Characters are octets (set +U)
        or (utf8-mode) MirOS OPTU-8 multibyte characters (set -U)

    *  [tg] Improve regression tests relating to ${foo:1:2} and
        ${#foo} and let wc=1#x and utf8-mode

    *  [tg] Use per-file copyright notices, move global text to manpage

    *  [tg] Expose new MKSH_MIDNIGHTBSD01ASH_COMPAT ifdef; change it to
        only trigger if FPOSIX (or MKSH_BINSHREDUCED and /bin/sh)

    *  [tg] Remove already-dead “#if 0” style debugging code

    *  [tg] Change some code into a more portable fashion, optimise

    *  [tg] Allow [[ $foo ]] (ksh93 extension) mentioned by pgas

    *  [tg] Clean up mksh and the contributed arc4random.c for some
        conversion, enum and other warnings for gcc-snapshot trunk r147610

    *  [tg] Ensure no function uses more than 768 bytes of stack either

    *  [tg, wbx] Add extension to make “!string” lines work like in \ 
GNU bash

Files:
RevisionActionfile
1.11modifypkgsrc/shells/mksh/Makefile
1.11modifypkgsrc/shells/mksh/distinfo