Package: patch
Version: 2.5.9-5
Severity: normal

Patch suffers from a mis-feature, namely that it creates backup files with
000 perms when the patch creates a new file (and thus there's no original
file to backup). It's documented but apparently that behaviour has changed
in patch 2.6.
http://ftp.gnu.org/gnu/patch/patch-2.6.tar.gz

-b  or  --backup
  Make  backup  files.   That is, when patching a file, rename or copy the
  original instead of removing it.  When backing up a file that  does  not
  exist,  an  empty, unreadable backup file is created as a placeholder to
  represent the nonexistent file.  See the -V or --version-control  option
  for details about how backup file names are determined.

This behaviour leads to uncopyable files which is a pain in particular for
quilt (cf #534840) and it would be nice to see a fixed version of patch in
sid.

Thanks.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 
'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages patch depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries

patch recommends no packages.

Versions of packages patch suggests:
pn  diff-doc                      <none>     (no description available)
ii  ed                            1.4-1      The classic UNIX line editor

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to