quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] [PATCH] Remove .pc/*/.pc files


From: Andreas Gruenbacher
Subject: [Quilt-dev] [PATCH] Remove .pc/*/.pc files
Date: 27 Oct 2003 03:25:08 +0100

Hello,

here is a patch that gets rid of the .pc file lists that are currently
used to track which files a patch contains. The patch works with the
(small and incomplete) set of test cases we have. Could you please test
the changes before I submit something that doesn't work for you?

The following issues remain:

 - The .pc files were used to keep the files in patches in their
   original order. Currently, files will end up in patches in find
   order. This can easily be changed so that file names are sorted.
   Retaining the original order is a bit harder, but maybe I will
   find the time to code that.

 - There is a problem with GNU diff: For files that a patch adds,
   GNU patch creates zero-length files with no permissions set.
   Annoyingly, GNU diff fails to recognize these backup files as
   what they are and tries to read from them -- which obviously
   fails. Attached is a patch for GNU diff that fixes this.
   I will discuss this with Paul Eggert, and see if this can go
   in upstream.

 - The backup-files utility currently does not scan directories,
   and requires an input file list. I will add nftw() to backup-files
   so that it walks directories itself (which is faster).

 - Several thing may be broken now. We shall have to fix them.


Cheers,
-- 
Andreas Gruenbacher <address@hidden>
SuSE Labs, SuSE Linux AG <http://www.suse.de/>

Attachment: remove-pc-files.diff
Description: Text document

Attachment: backup-of-new-file.diff
Description: Text document


reply via email to

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