Download Red Hat Enterprise Linux 5 5.8 Technical Notes

Transcript
Red Hat Enterprise Linux 5 5.8 Technical Notes
may have prevented ksh from executing any subsequent commands. With this update, the
underlying source code has been adapted to determine whether a script contains other
commands and to perform the selected action in a separate process if it does. As a result, ksh
now executes all commands in a script as expected.
BZ #690816
Previously, ksh treated an array declaration as a definition. Consequently, the array contained
one element after the declaration. T his bug has been fixed, and now an array is correctly
reported as empty after a declaration.
BZ #683722, BZ #727891
If the IFS variable was unset inside a function used in a script, the memory being used was
erroneously freed. Consequently, ksh terminated unexpectedly with a segmentation fault. With
this update, ksh allows the IFS variable to be unset, but without freeing the memory so that
ksh no longer crashes under these circumstances.
BZ #616853
Assigning a value to an array variable during the execution of the typeset command could
cause ksh to terminate unexpectedly with a segmentation fault. T his update corrects the array
handling in this command and ksh no longer crashes.
BZ #586923
Due to a memory leak in the ksh executable, the performance of long running scripts could
decrease significantly over time. With this update, the underlying source code has been
modified to prevent this memory leak, and the execution of long running scripts is no longer
slowed down.
BZ #691933
In POSIX functions, a function defined without using the function keyword, the value of the
variable $0 was changed to the name of the function instead of keeping the original value, the
name of the caller function. With this update, an upstream patch has been applied to correct the
code and ksh keeps the name of the caller function in $0 as expected.
BZ #64 2508
Prior to this update, ksh did not close a file containing an auto-loaded function definition. After
loading several functions, ksh could have easily exceeded the system's limit on the number of
open files. With this update, files containing auto-loaded functions are properly closed, thus, the
number of opened files no longer increases with usage.
BZ #615284
When a ksh script contained the trap command to capture a SIGPIPE signal, sending this
signal via the built-in echo command could cause its output to be incorrectly added to the
redirected output of an external command. With this update, ksh now flushes the output buffer
before redirecting any output streams.
BZ #601555
Due to incorrect signal handling, receiving a signal while still processing the previously sent
168