quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] Re: ftw removed; emacs mode; translations; ready for 0.43?


From: Gary V. Vaughan
Subject: [Quilt-dev] Re: ftw removed; emacs mode; translations; ready for 0.43?
Date: Thu, 26 Jan 2006 12:22:02 +0000
User-agent: Thunderbird 1.5 (X11/20051201)

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      ())_.  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
 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
 }
 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]