This bug was fixed in the package mksh - 44-1ubuntu1 --------------- mksh (44-1ubuntu1) raring; urgency=low * Merge from Debian experimental. (LP: #1148014) Remaining changes: - Do not build-depend on dietlibc, which is not in main. mksh (44-1) experimental; urgency=low * New upstream stable release; changes: - [tg] "$@" always generates words; bug spotted by engla in IRC - [tg] Optimise print_columns display to use the screen space better mksh (43-1) experimental; urgency=medium * New upstream stable release; changes: - [tg] Do not permit $'…' and $"…" in anything that looks like a string, as old scripts, like ncurses’, depend on behaviour not guaranteed by POSIX regarding unescaped dollar signs there - [dalias] Make detection of function prototypes more reliable - [tg] Quote setenv arguments for eval properly in dot.mkshrc - [tg] Validate parameter names for typeset, export, etc. - [tg] Provide a classic BSD echo builtin for /bin/sh on MidnightBSD - [tg] When generating Makefrag.inc put list of check_categories inside - [tg] Actually test all echo(1) flavours and MidnightBSD /bin/sh hacks * Updated “Uhr” example script mksh (42b-1) experimental; urgency=medium * The “Acetylsalicylsäure++” upload * Drop B-D on pax, not really needed since I was forced to switch to full debhelper for 40.9.20121124-2 again * Add linux-libc-dev to B-U for klibc as it uses kernel headers (don’t do something similar for kFreeBSD or Hurd: unnecessary) * Merge changelog for upload: mksh (40.9.20120630-7) unstable * Use upstream .orig.tar.gz files unchanged - printf.c lives in debian/ now, symlinked in the CVS packaging repo ⇒ change meat to copy over for building * Simplify rules and watch files accordingly * New upstream must-have bugfixes stable release: - LP#1104543 fix was too strict (Closes: #700526) - Correctly initialise memory (Closes: #700604) * Add linux-libc-dev to “dependencies” output, too (see above) mksh (41.9.20130210) experimental; urgency=low * The “remedies for frustration – bzr lessons-learned” upload * Debian-relevant changes from R41-stable branch: - Fix getn and some cases of possible array bounds trespasses - Fix “command shift”, reported by «ormaaj:#!/bin/mksh» - Fix regression wrt lists in functions and “set -e” (LP#1104543) * Update to mksh CVS HEAD; Debian-relevant changes: - Fix ${ precmd;} in dot.mkshrc to retain the errorlevel - Prefer const-clean sys_errlist[] to strerror(3) - Permit $"…" and $'…' everywhere except in the body of here documents that are not here strings - Use full recursive parser for double-quoted here strings, and reuse code between here strings and here documents - #ifdef DEBUG_LEAKS free all fds and memory on exit (LP#1106116) - Don’t close stdout/stderr with redirections, dup /dev/null instead, always, both in dot.mkshrc and the testsuite, it does break! - Handle ${ …;} like functions in that local and return DWIW; use it for the big chunk in $PS1 to avoid fork(2)ing (at cost of tempfiles; dot.mkshrc is a sample, adjust to your needs) * Merge changelog for upload: mksh (40.9.20120630-5) unstable mksh (41.1-6) experimental; urgency=low * Brown paperbag upload * Fix traps for “set +e”, too (Really Closes: #696823) mksh (41.1-5) experimental; urgency=low * The “huh an m68k buildd is more fun than manual scheduling” upload * Update to otherwise unpatched head of mksh R41-stable branch: - [tg, RT] Bunch of portability and build system fixes - [tg] Fix running the ERR and EXIT traps in situations with set -e and possibly eval (Closes: #696823) * Update dot.mkshrc to CVS HEAD to have ${ precmd;} again * Add my Uhr as contributed example of what to do with mksh ;-) mksh (41.1-4) experimental; urgency=low * The “maybe amd64 buildd chroot got upgraded by now…” upload * Update to head of mksh R41-stable branch: - fix mistake in hash collision resolution implementation mksh (41.1-3) experimental; urgency=low * The “waiting for clang-3.2 to pass NEW” upload * Update to head of mksh R41-stable branch: - we use -fno-asynchronous-unwind-tables for GCC now - some warning fixes, mostly -Wsign-compare mksh (41.1-2) experimental; urgency=low * The “Geier” upload (keep in experimental for now) * New upstream formal stable release; changes: - [tg] Fix an input command line editing display redrawing issue - [tg] Track the tty to keep $COLUMNS and $LINES up-to-date after a SIGWINCH even in scripts * Update to mksh R41-stable branch: - buildsystem warning fixes - fixes for issues discovered by LLVM+Clang scan-build * Update debian/watch file: distfiles are .tgz now * debian/meat: Fix $CC invocation for B-U generation and be more robust mksh (40.9.20121124-2) experimental; urgency=low * The “other littlest” upload * Redo packaging to use debhelper again (Closes: #690381) mksh (40.9.20121124-1) experimental; urgency=low * The “Marek” upload, to experimental, people please test test test! * New CVS snapshot: - [tg] Make dot.mkshrc usable with “set -o nounset” / “set -u” - [tg, Clint Adams] Clean up and optimise the error handling code - [tg] Fix and add some checks in the testsuite - [tg] Sort list of variables in the source code when possible - [tg] Add $BASHPID (for ormaaj) and $MKSH_UNIXTIME - [tg] Improve documentation, #ksh IRC channel homepage - [tg, RT] Minix 2 also doesn’t have gettimeofday(2) ⇒ check for it * Fix mailing list reference in lksh(1) manpage * Policy 3.9.4: introduce Built-Using header mksh (40.9.20121030-1) experimental; urgency=low * The “cnuke” upload, to experimental (for testing the changes by users) - TODO: bump S-V and introduce Built-Using header, now that it is (finally) standardised * New CVS snapshot: - [tg] Apply speed improvements and add MKSH_SMALL_BUT_FAST - [tg] Make quoted output of “typeset -p” AT&T ksh93 compatible - [tg] Implement ${foo@Q} like ${foo:Q} in make(1) - [tg] Remove some unused code; more int → bool conversion - [tg] Fix ulimit builtin usage to match what limits we actually know - [tg] Allow overriding /etc location, experts only (LP: #1039713) - [tg, Todd Miller] Avoid changing ps(1) output by accident - [tg, ft, Christian Neukirchen] Detect zsh 2.5.02/NeXTstep for Build.sh - [tg] Detect musl-gcc wrapper, define _BSD_SOURCE there, which is totally bogus, but musl, just like dietlibc, gets it wrong - [tg] Improve compile-time assertions - [tg] Repair select builtin without any choices given - [tg] Add -DMKSH_GCC55009 hack to avoid some compile-time assertions and introduce arith-mandatory in check.t to substitute for missing that compile-time check; will change (related to LP#1058035) - [tg] Rewrite lots of code to not rely on -fwrapv so much - [tg] Build.sh: Fix flock(2) detection on GNU/Linux - [Andrew Kudryashov] Manpage: fix default for HISTSIZE - [tg] Add debugging aid (split-screen mechanism using GNU screen) - [Andrew Kudryashov] Manpage, Website: point out correct mailing list - [tg, Andrew Kudryashov] Fix ~/nonexistant tab completion - [tg] Optimise sh -c “[^]\t\n"-$&-*;-?[\\|]*” to exec, inspired by Jilles Tjoelker (-DMKSH_DISABLE_EXPERIMENTAL to ostracise) - [tg] Fix $? inside eval (RedHat BZ#865121) - [tg] Implement ksh93 feature ${ foo;} (second attempt, exclude with -DMKSH_DISABLE_EXPERIMENTAL, using tempfiles this time), but do not use it in dot.mkshrc yet (until stable) - [tg] Run SIGINT check more reliably in the cat builtin (LP#1058815) - [tg] Handle ^C in here documents, COMSUB, arith (Closes: #691116) * Bump versioned B-D on libklibc-dev [armhf] to known-fixed * In .mkshrc, read /etc/debian_chroot if necessary, like GNU bash mksh (40.9.20120630-7) unstable; urgency=low * The “customer service” upload * Correct the fix for LP#1104543 (Closes: #700526) * Fix uninitialised memory access (Closes: #700604) mksh (40.9.20120630-6) unstable; urgency=low * Revert the fix for LP#1104543 as it causes Debian #700526 (not closing as it’s not a proper fix) mksh (40.9.20120630-5) unstable; urgency=low * Bump versioned B-D on libklibc-dev [armhf] to known-fixed * Fix input command line editing display redrawing issue * Backport fixes to the regression testsuite and some new tests * Add bugfixes for error handling related issues: - behaviour of $? in eval (RedHat BZ#865121) - running the EXIT and ERR traps (Closes: #696823) - set -e vs. use of &&/|| in a function (LP#1104543) * Add appropriate regression tests for these fixes * Update the mailing list address in lksh.1 manpage * In /etc/skel/.mkshrc handle /etc/debian_chroot like bashrc does * Update copyright year mksh (40.9.20120630-4) unstable; urgency=low * The “Cookie” upload * Revert Ubuntu-specific change to drop dietlibc B-D * Bump versioned B-D on dietlibc-dev [armhf] to known-fixed -- Thorsten Glaser