1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/cmd/ksh93/bltins
Martijn Dekker fdb9781ebb Fix 'typeset -xu', 'typeset -xl' (rhbz#1188377)
'typeset -xu' and 'typeset -xl' would export the variable but fail
to change case in the value under certain conditions.

Original patch:
642af4d6/f/ksh-20120801-xufix.patch

This applies the patch essentially without change and adds a
regression test based on the reproducer provided in the RH bug.

Unfortunately there is no description of how the patch works and
it's a little obscure to me. As far as I can figure out, the cause
of the problem was that nv_newattr() erroneously processed a
nonexistent size option-argument such as what can be given to
options like typeset -F, e.g. typeset -F3 for 3 digits after the
dot. A nonexistent size argument is represented by the value of -1.
2020-09-30 03:06:54 +02:00
..
alarm.c combining alarm and IFS caused segfault (rhbz#1176670) 2020-09-27 03:03:48 +02:00
cd_pwd.c Fix incorrect behavior of 'cd ../.foo' (#46) 2020-06-26 23:36:29 +01:00
cflow.c Fix BUG_LOOPRET2 and related return/exit misbehaviour 2020-09-09 20:02:20 +02:00
enum.c '#if 0' cleanup 2020-08-30 04:51:20 +01:00
getopts.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
hist.c Reinstate 'r' and 'history' as preset aliases for interactive ksh 2020-09-11 21:35:45 +02:00
misc.c Remove abandoned SHOPT_ENV experiment 2020-09-02 16:09:57 +01:00
mkservice.c '#if 0' cleanup 2020-08-30 04:51:20 +01:00
print.c Remove legacy code for older libast versions 2020-09-04 02:31:39 +02:00
read.c SHOPT_MULTIBYTE-related cleanup (re: 8477d2ce) 2020-08-30 04:50:57 +01:00
regress.c Fix 47 typos in user-facing help and error messages 2020-06-12 01:45:12 +02:00
sleep.c Fix how unrecognized options are handled in 'sleep' and 'suspend' (#93) 2020-07-26 02:18:49 +01:00
test.c -o posix: disable '[ -t ]' == '[ -t 1 ]' hack 2020-09-01 20:24:44 +01:00
trap.c Fix how unrecognized options are handled in 'sleep' and 'suspend' (#93) 2020-07-26 02:18:49 +01:00
typeset.c Fix 'typeset -xu', 'typeset -xl' (rhbz#1188377) 2020-09-30 03:06:54 +02:00
ulimit.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
umask.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
whence.c whence -f: ignore functions (#137) 2020-09-26 19:26:18 +01:00