mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-02-05 14:40:42 +08:00
* libltdl/config/ltmain.m4sh (func_lalib_unsafe_p) [osf]:
Save file descriptor to original STDIN, and restore after redirection. Fixes memory corruption with Tru64 and OSF sh. Reported by Nicolas Joly <njoly@pasteur.fr>.
This commit is contained in:
parent
9c08dbfa0e
commit
3e5a53b3a0
10
ChangeLog
10
ChangeLog
@ -1,4 +1,12 @@
|
||||
2005-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
2005-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
|
||||
Gary V. Vaughan <gary@gnu.org>
|
||||
|
||||
* libltdl/config/ltmain.m4sh (func_lalib_unsafe_p) [osf]:
|
||||
Save file descriptor to original STDIN, and restore after
|
||||
redirection. Fixes memory corruption with Tru64 and OSF sh.
|
||||
Reported by Nicolas Joly <njoly@pasteur.fr>.
|
||||
|
||||
2005-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
|
||||
Peter Ekberg <peda@lysator.liu.se>
|
||||
|
||||
* tests/early-libtool.at: Fix goofed up make rules in
|
||||
|
@ -603,7 +603,7 @@ func_lalib_p ()
|
||||
func_lalib_unsafe_p ()
|
||||
{
|
||||
lalib_p=no
|
||||
if test -r "$1" && exec <"$1"; then
|
||||
if test -r "$1" && exec 5<&1 <"$1"; then
|
||||
for lalib_p_l in 1 2 3 4
|
||||
do
|
||||
read lalib_p_line
|
||||
@ -611,7 +611,7 @@ func_lalib_unsafe_p ()
|
||||
\#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
|
||||
esac
|
||||
done
|
||||
exec <&-
|
||||
exec 1<&5 5<&-
|
||||
fi
|
||||
test "$lalib_p" = yes
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user