* ltmain.in: file_magic check would not avoid cyclic links.

This commit is contained in:
Frank Ch. Eigler 1999-05-25 17:26:35 +00:00 committed by Alexandre Oliva
parent 611d90ffa9
commit 49723f5acd
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1999-05-25 Frank Ch. Eigler <fche@cygnus.com>
* ltmain.in: file_magic check would not avoid cyclic links.
1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br> 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
* depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize. * depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize.

View File

@ -2061,7 +2061,7 @@ EOF
potential_libs=`ls $i/$libname[.-]* 2>/dev/null` potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
for potent_lib in $potential_libs; do for potent_lib in $potential_libs; do
# Follow soft links. # Follow soft links.
if ls -lLd "$potlib" 2>/dev/null \ if ls -lLd "$potent_lib" 2>/dev/null \
| grep " -> " >/dev/null; then | grep " -> " >/dev/null; then
continue continue
fi fi