[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix path search bugs in func_copy_some_files [libtool--gary--1.0--patch-
From: |
Gary V. Vaughan |
Subject: |
fix path search bugs in func_copy_some_files [libtool--gary--1.0--patch-8] |
Date: |
Sun, 20 Mar 2005 15:52:30 +0000 (GMT) |
User-agent: |
mailnotify/0.6 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Okay to commit?
* libtoolize.m4sh (func_copy_some_files): IFS needs to be set to
path delimiter for all inner loop iterations.
Once a matching file has been copied, no need to keep searching
the path for another -- move on to the next file!
- --
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.9
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCPZw8FRMICSmD1gYRAlSvAKDA0NLz/Z+mOj2SBFt4QQ8VfQpOXwCggoEG
NtyWQkX01YY04GkT/7vduuA=
=SA/c
-----END PGP SIGNATURE-----
* looking for address@hidden/libtool--gary--1.0--patch-7 to compare with
* comparing to address@hidden/libtool--gary--1.0--patch-7
M libtoolize.m4sh
M ChangeLog
* modified files
Index: Changelog
from Gary V. Vaughan <address@hidden>
* libtoolize.m4sh (func_copy_some_files): IFS needs to be set to
path delimiter for all inner loop iterations.
Once a matching file has been copied, no need to keep searching
the path for another -- move on to the next file!
--- orig/libtoolize.m4sh
+++ mod/libtoolize.m4sh
@@ -363,6 +363,7 @@
my_save_IFS="$IFS"
IFS=:
for my_filename in $my_srcfile_spec; do
+ IFS=:
for my_srcdir in $my_srcdirs; do
IFS="$my_save_IFS"
if test -f "$my_srcdir/$my_filename"; then
@@ -379,6 +380,7 @@
fi
$my_copy_cb "$my_filename" "$my_srcdir" "$my_destdir"
+ break
done
IFS="$my_save_IFS"
done
- fix path search bugs in func_copy_some_files [libtool--gary--1.0--patch-8],
Gary V. Vaughan <=