mksh 59c-15 source package in Ubuntu
Changelog
mksh (59c-15) unstable; urgency=medium * Require usable libklibc-dev (cf. #1004465) * Update to CVS HEAD: - [tg, Redfoxmoon] Fixes for the MIPSpro compiler - [tg] Clean up the pre-initio() codepaths - [tg] Advance less-UB-y arithmetics project: shf_vfprintf et al. - [tg] Overhaul error reporting functions avoiding some name doubling - [tg] Fix if FCEDIT when TMPDIR contains whitespace - [tg] Tighten locale and charset checks - [tg] Handle gracefully users doing integer EPOCHREALTIME= - [tg] Fix newer GCC warning on compile-time asserts - [tg] Support GNU strerrordesc_np(3) replacement for _sys_errlist[] - [tg] Better configure-time detection (TenDRA, dietlibc, …) - [tg] Fix possible setsid(2) failure in chvt code by always forking, with waiting if !, and communicate child process errors back - [tg] Change some more numbers to unsigned, signed is evil in C - [tg] Improve flags documentation, also (Closes: #999706) - [tg] Clear nonblocking flag on entry for FIFOs as well, as POSIX says - [komh, tg] Fix termio chvt flushing and link to Ilya Zakharevich’s docs why no shell can use termios(4) on OS/2 - [tg] Introduce k32 type and arithmetics, used in hash, indicēs, … - [tg] Add explicit masking for 8-bit to KBY and KBI macros - [tg] Change remaining users off stdint.h types, except old arith - [tg, bwh] Limit object size to the smaller of (size_t)PTRDIFF_MAX and SIZE_MAX, so byte representation pointer offsets cannot cause UB - [tg] PRNG improvements: track traps and history input - [tg] Limit variable name length to INT_MAX-X_EXTRA to guarantee export - [tg] Update portability glue for manpage - [tg] Document local array howto and behaviour in the FAQ - [tg] Fix missing backslash in posix-mode FAQ locale example code - [tg] Change short hash from BAFH0-1 to BAFH1-0 (faster at no loss) - [tg] Improve UB-safe type property detection and arithmetics; switch more parts of lksh to UB-y (POSIXly “correct” though…) arithmetics - [tg] Support GNU sigdescr_np(3) replacement for _sys_siglist[] and sigabbrev_np(3) for _sys_signame[] (avoid glibc regression) - [RT] Port to SerenityOS - [tg] Build.sh work around FreeBSD make(1) using set -v - [tg] Warn about [^…] shellglobs because some people currently are trying to change POSIX to force GNU bash behaviour there instead of (currently) permitting both traditional/ksh and GNU bash behaviour ☹☹☹ - [tg] Correct set -o allexport description * debian/printf.c: Update from MirBSD CVS to support new warning framework * Sync debian/copyright accordingly -- Thorsten Glaser <email address hidden> Mon, 31 Jan 2022 17:04:23 +0100
Upload details
- Uploaded by:
- Thorsten Glaser
- Uploaded to:
- Sid
- Original maintainer:
- Thorsten Glaser
- Architectures:
- any
- Section:
- shells
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
mksh_59c-15.dsc | 2.3 KiB | d951e32f6fb9df90de86f123c005ee3017e886bd93075aa0bb1acc2605c7a57f |
mksh_59c.orig.tar.gz | 432.4 KiB | 77ae1665a337f1c48c61d6b961db3e52119b38e58884d1c89684af31f87bc506 |
mksh_59c-15.debian.tar.xz | 239.4 KiB | a85578f6665cfbdec45cd4d693dfb1405a13aca931e1fd8d5d58057d32b3612e |
Available diffs
- diff from 59c-14 to 59c-15 (138.1 KiB)
No changes file available.
Binary packages built by this source
- mksh: MirBSD Korn Shell
mksh is the successor of the Public Domain Korn shell (pdksh),
a Bourne/POSIX compatible shell which is largely similar to the
original AT&T Korn Shell (ksh88/ksh93).
It includes bug fixes and feature improvements, in order to produce a
modern, robust shell good for interactive and especially script use.
mksh has UTF-8 support (in string operations and the Emacs editing
mode). The code has been cleaned up and simplified, bugs fixed,
standards compliance added, and several enhancements (for extended
compatibility to other modern shells, as well as a couple of its
own) are available.
This shell is Debian Policy 10.4 compliant and works as /bin/sh on
Debian systems (use the /bin/lksh executable) and is a good rescue
and initrd shell (consider the /bin/mksh-static executable).
.
The mksh binary is a complete, full-featured shell. It provides a
“consistent across all platforms” guarantee, using 32-bit integers
for arithmetics, possibly deviating from POSIX.
.
The mksh-static binary is a version of mksh, linked against klibc,
musl, or dietlibc (if they exist for that Debian architecture and
are usable) and optimised for small code size, for example for use
on initrd or initramfs images, installation or rescue systems.
Except for omitting some features to be smaller, it is similar to
the mksh binary otherwise. Note the exact feature set may differ
depending on which C library was used to compile it.
.
The lksh binary is a script shell based on mksh intended to run old
ksh88 and pdksh scripts, but not for interactive use. When used as
/bin/sh it follows POSIX most closely, including use of the host’s
“long” C data type for arithmetics. It also contains kludges so it
can run as /bin/sh on Debian beyond what Policy dictates, to work
around bugs in maintainer scripts and LSB init scripts shipped by
many packages, such as including a rudimentary printf(1) builtin,
permitting a shell function to be named stop overriding the default
alias, more loose interpretation of shell extglobs, etc.
.
A sample ~/.mkshrc is included in /usr/share/doc/mksh/ examples and
provided as /etc/mkshrc conffile, which is sourced by another file
/etc/skel/.mkshrc users are recommended to copy into their home.
- mksh-dbgsym: debug symbols for mksh