1.113. ksh
1.113.1. RHBA-2009:1165: bug fix update
Note
This update has already been released (prior to the GA of this release) as errata
RHBA-2009:1165
An updated ksh package that fixes a bug is now available.
KSH-93 is the most recent version of the KornShell by David Korn of AT&T Bell Laboratories.
KornShell is a shell programming language which is also compatible with "sh", the original Bourne
Shell.
This updated ksh package fixes the following bug:
• the ksh shell's "typeset" special builtin command allows scripts to perform nested variable
assignment by providing a variable name and a value to assign to that variable name. However,
when a ksh function which contained a nested variable was forked, the nesting counter was
incorrectly set to zero, which caused nested variables assignments to become unset. This updated
package corrects this error so that forked ksh functions have nested variables set correctly in their
child processes, thus resolving the issue.
All users of ksh are advised to upgrade to this updated package, which resolves this issue.
1.113.2. RHBA-2009:1256: bug fix update
Ksh package that fixes various bugs is now available.
KSH-93 is the most recent version of the KornShell by David Korn of AT&T Bell Laboratories -- a shell
programming language upwards-compatible with "sh" (the Bourne Shell).
This updated ksh package includes fixes for the following bugs:
• when umask set a default permission in a subshell, this default permission would persist after
returning to the parent shell. Subsequently, files in the parent shell might have been created with
wrong permissions. This is now fixed.
• ksh removed variables from the environment if their names contained certain characters, for
example, a hyphen or a space. Now, although ksh does not use environment variables with names
that contain these characters, it keeps them for sub-processes.
• the ksh builtins failed to report errors on failed file operations, for example, if they were unable to
write to a file because of no space on a disk. This could result in data loss, because a user would
have no warning that data was not saved. Builtins now provide a proper return code and present an
error message to the user if they are unable to complete a file operation.
• when typeset was used together with variable assignment in the last version of ksh, typeset took
effect after the assignment, not before. Because this behavior was the opposite of how typeset
works in ksh versions provided by pdksh and was not documented, it could create surprise and
confusion. Now, ksh changed its behavior and typeset takes effect before the variable assignment.
1115
(BZ#489516
)
1110
(BZ#510712
1112
(BZ#485030
1111
)
)
1113
(BZ#488934
(BZ#465438
ksh
)
1114
)
145
Need help?
Do you have a question about the ENTERPRISE LINUX 5.4 - TECHNICAL NOTES and is the answer not in the manual?
Questions and answers