Hi!
----
Attached is a small fix
("ksh93_20060724_tests_exit_sh_64bitfix.diff.txt") for the "exit.sh"
test shipped with ksh93r+_alpha_20060724 which fixes a test failure for
a dynamicalled linked ksh93. The problem is that the test does not
recognise LD_LIBRARY_PATH_32 and LD_LIBRARY_PATH_64 (used on Solaris and
AFAIK on Linux, too; however the test already knows about
"LD_LIBRARY32_PATH" and "LD_LIBRARY64_PATH") and doesn't pass it
"through" to the exec'ed child which causes it then to die due missing
shared libraries (libshell.so.1 in this case; note that the problem only
occurs if the platform supports both 32bit and 64bit libs).
The fix is simply to add LD_LIBRARY_PATH_32 and LD_LIBRARY_PATH_64
besides the already existing "LD_LIBRARY32_PATH" and "LD_LIBRARY64_PATH"
vars.
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
-------------- next part --------------
Index: tests/exit.sh
===================================================================
--- tests/exit.sh (revision 386)
+++ tests/exit.sh (working copy)
@@ -43,7 +43,9 @@
${ABSHELL} <<!
HOME=$PWD \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH \
+LD_LIBRARY_PATH_32=$LD_LIBRARY_PATH_32 \
LD_LIBRARYN32_PATH=$LD_LIBRARYN32_PATH \
+LD_LIBRARY_PATH_64=$LD_LIBRARY_PATH_64 \
LD_LIBRARY64_PATH=$LD_LIBRARY64_PATH \
LIBPATH=$LIBPATH \
PATH=$PATH \