Andreas Gruenbacher wrote: > I have removed our reliance on ftw and implemented directory walking in > lib/backup-files.c itself based on Gary's proposal, > <http://lists.gnu.org/archive/html/quilt-dev/2005-09/msg00133.html>. Gary, it > took a while, but eventually you've won -- thank you ;)
Cool. Thanks :-D > Could you guys please review the changes, and check if backup-files now > builds > on the platforms we are targeting? Works for me on darwin, although there are new test failures... The Mac OSX version of find (a BSD derivative) doesn't understand -printf, but the test in configure.ac only tests for a find that understands -path (which this one does). Patch to revert that change to avoid forcing Mac users to build and install GNU findutils is attached. Also, I note that my patch 11 is still pending, and required on any machine where the first cp, diff, awk etc. on the caller's PATH are not the versions checked for and found by configure. http://lists.gnu.org/archive/html/quilt-dev/2005-09/msg00289.html Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://tkd.kicks-ass.net GNU Hacker / )= http://www.gnu.org/software/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook
quilt/scripts/patchfns.in | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
Index: quilt-HEAD/quilt/scripts/patchfns.in
===================================================================
--- quilt-HEAD.orig/quilt/scripts/patchfns.in
+++ quilt-HEAD/quilt/scripts/patchfns.in
@@ -591,12 +591,13 @@ files_in_patch()
{
local patch="$1"
local path="$QUILT_PC/$patch"
-
if [ -d "$path" ]
then
- find "$path" -type f \
- -a ! -path "$path/.timestamp" \
- -printf "%P\n"
+ for file in $(find "$path" -type f \
+ -a ! -path "$path/.timestamp")
+ do
+ echo "${file:${#path}+1}"
+ done
fi
}
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Quilt-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/quilt-dev
