./shells/ksh93, Actively developed fork of AT&T KornShell 93u+

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.0.10, Package name: ksh93-1.0.10, Maintainer: vins

The ksh 93u+m reboot incorporates many of the bugfixes found in the last
unstable AST beta version (93v-), backported to the most recent official
release (93u+), plus patches from OpenSUSE, Red Hat, and Solaris, as
well as many new fixes from the community.


Master sites:

Filesize: 1972.203 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-14 16:23:52 by Paolo Vincenzo Olivo | Files touched by this commit (2) | Package updated
Log message:
shells/ksh93: update to ksh 93u+m/1.0.8

# CHANGES (since 1.0.7)

  * Fixed a regression in the behaviour of exit in a trap action. The
    exit status used when no argument is given to exit is now once again
    the exit status of the last command executed before the trap action.

  * Fixed a race condition, introduced in 1.0.7, that occurred on some
    systems when running an external command with a standard output
    redirection from a command substitution.

  * Fixed an init-time crash on failure to trim the shell command
    history file due to a non-writeable parent directory; ksh now prints
    a warning instead.

  * The kill built-in command now correctly refuses to issue SIGSTOP to
    the shell's own process if the shell is a login shell.
   2023-09-22 20:44:16 by Thomas Klausner | Files touched by this commit (1)
Log message:
ksh93: fix download
   2023-09-18 16:11:42 by Paolo Vincenzo Olivo | Files touched by this commit (5) | Package updated
Log message:
shells/ksh93: update to 1.0.7

Here is the seventh ksh 93u+m/1.0 bugfix release. It fixes a hang in
command substitutions when combined with 'exec' and certain
redirections.

# pkgsrc changes

* Use USE_CC_FEATURES instead of CFLAGS.
* Use MAKE_ENV instead of appending flags to the build script command
  line.
* Use package's own install script (patched) instead of a dedicated target.
* Install shcomp(1) + corresponding man page.
* Install ksh autoload companion functions.
* Use TEST_TARGET instead of a dedicated make target.
* Simplify DESCR.

# upstream changes (since ksh93u+m/1.0.6):

* Fixed a hang in command substitutions (introduced in 93u+m/1.0.0) that
  was triggered when redirecting standard output within a command
  substitution, in combination with other factors. E.g., the following no
  longer hangs:
  { v=$(redirect 2>&1 1>&9); } 9>&1

* Fixed a crash on trying to append an indexed array value to an unset
  name reference, e.g.: nameref unsetref; unsetref+=(foo bar). This now
  produces a "removing nameref attribute" warning before performing the
  assignment.

* Fixed: assignments like name=(...) to arrays did not preserve the array
  and variable types; similarly, assigning an empty set () to a compound
  indexed array caused the -C attribute to be lost.

* Fixed incorrect rejection of the tab key while reading input using the
  read built-in command.

* Fixed a bug in printf %T: when using dates and times in the past, time
  zones for the present were incorrectly used, ignoring historical
  changes.
   2023-07-03 12:44:09 by Paolo Vincenzo Olivo | Files touched by this commit (3) | Package updated
Log message:
shells/ksh93: update to ksh 93u+m/1.0.6

CHANGES

# ksh 93u+m/1.0.6:

*    Fixed a serious regression in pathname expansion where quoted
     wildcard characters were incorrectly expanded if a pattern contains
     both a brace expansion and a variable expansion.
*    Fixed a bug where the command to launch a full-screen editor (^X^E
     in emacs and v in vi) could cause the wrong command line to be
     edited if two shell sessions share a .sh_history file.

# ksh 93u+m/1.0.5:

*	Fixed various bugs causing crashes.
*	Fixed many bugs in the emacs and vi line editors, in command
	 completion, and in file name completion.
*	Fixed various bugs in the handling of quotes, backslash escapes and
	braces when processing shell glob patterns (e.g. in pathname expansion
	and case).
*	ksh now throws a panic and exits if a read error (such as an I/O
	error) occurs while trying to read the next command(s) from a running
	script.
*	Fixed many bugs in printf and print -f built-in commands, including:

	- Multiple bugs causing incorrect output for relative date
	  specifications, e.g., printf %T\\n 'exactly 20 months ago' now
	  outputs a correct result.
	- More printf bugs with mix and match of % and %x$.
	- A data corruption bug when using %B with printf -v varname.
	- A bug causing double evaluation of arithmetic expressions.

*	Fixed a bug where unset -f commandname, executed in a subshell, hides
	any built-in command by the same name for the duration of that subshell.
*	Fixed ${var/#/string} and ${var/%/string} (with anchored empty pattern)
	to work as on mksh, bash and zsh; these are no longer ineffective.
*	Fixed incorrect result of array slicing ${array[@]:offset:length} where
	length is a nested expansion involving an array.
*	Command names can now end in : as they can on other shells.
*	Fixed a spurious syntax error in compound assignments upon encountering
	a pair of repeated opening parentheses ((.
*	Fixed spurious syntax error in ${parameter:offset:length}: the
	arithmetic expressions offset and length may now contain the
	operators () & |.
*	Fixed a parsing bug in the declaration of .sh.math.* arithmetic
	functions.
*	Fixed nameref self-reference loop detection for more than two namerefs
*	Several improvements to the POSIX compatibility mode.
*	Many more minor and/or esoteric bugfixes.
   2022-12-06 15:41:40 by Paolo Vincenzo Olivo | Files touched by this commit (14)
Log message:
Reset maintainer for my packages to reflect new mail address.
   2022-11-09 05:28:37 by pin | Files touched by this commit (2)
Log message:
shells/ksh93: fix broken build
   2022-11-05 17:10:40 by pin | Files touched by this commit (2) | Package updated
Log message:
ksh93: update to 1.0.4.

Main changes between 1.0.3 and 1.0.4:

- Fixed multiple scoping-related bugs in the += additive assignment
  operator.
- A number of crashing bugs have been fixed.
- Various fixes for the Haiku operating system, notably 'ulimit -a'
  now works.
- Fixed the expansion of out-of-range \n back references in the
  string part of ${parameter//pattern/string}. For example:
	v=AB; echo "${v/@(A)B/\0:\1:\2}"
  now yields 'AB:A:' instead of 'AB:A:\2'.
- Fixed quoted '!', '^' and '-' within [bracket] expressions in
  glob patterns; single or double quotes failed to disable their
  operator behaviour.
- Fixed a bug introduced on 2021-04-04 that incorrectly allowed
  'typeset' to turn off the readonly and export attributes on a
  readonly variable.
- In the emacs line editor, the Ctrl+R reverse-search prompt is
  now visually distinct from a literal control character ("^R: "
  instead of "^R").
- In the vi line editor, fixed the behaviour of 'C', 'c$' and 'I'
  to be consistent with standard vi(1) and with Bolsky & Korn
  (1995, p. 121).
- Aliases for many GNU long options have been added to the
  /opt/ast/bin built-in commands. Additionally, 'kill -s' now has
  a --signal long option alias compatible with the util-linux
  option.
- Backported support for 'print -u p' from ksh 93v- for
  compatibility with scripts written for 93v-/ksh2020 (this is
  equivalent to 'print -p').
   2022-09-04 16:35:34 by pin | Files touched by this commit (2) | Package updated
Log message:
shells/ksh93: update to ksh93-1.0.3.

Submmited by Paolo Vincenzo Olivo through private e-mail.

This a stability update incorporating crucial bug fixes.

Changes since version 1.0.1:

# Release 1.0.3

This point release mainly fixes the following:
- A bug in history expansion (set -H) where any use of the history
  comment character caused processing to be aborted as if it were an
  invalid history expansion. Affected e.g. 'echo ${#v}'.
- A bug in command line options processing that caused short-form option
  equivalents on some built-in commands to be ignored after one use,
  e.g., the new read -a equivalent of read -A.
- Ksh freezing or using excessive memory if HISTSIZE is assigned a
  pathologically large value.
- A bug that caused ksh in the vi editor mode to crash or produce
  invalid completions if ESC = was used at the beginning of a line.

# Release 1.0.2

This release fixes the interactive shell crashing when one of the
predefined aliases (currently 'history' and 'r') is redefined, whether
from a profile/kshrc script or manually. This crash occurred in two
scenarios:

1. when redefining and then unsetting a predefined alias;

2. when redefining a predefined alias and then executing a shell script
that does not begin with a #! path.