Your message dated Fri, 8 Sep 2006 15:35:40 +0200
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #386188,
regarding -o creates empty output on null patch
to be marked as having been forwarded to the upstream software
author(s) GNU Utils <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Hi,
the appended bug report was reported as Debian bug #386188:
Christoph
--
[EMAIL PROTECTED] | http://www.df7cb.de/cs/
Universität des Saarlandes, Compiler Design Lab
--- Begin Message ---
Package: patch
Version: 2.5.9-4
Severity: normal
[11/[EMAIL PROTECTED]:~/tmp$ ls -al
total 16K
drwxr-xr-x 2 mh mh 4.0K Sep 5 23:06 ./
drwxr-xr-x 18 mh mh 4.0K Sep 5 16:58 ../
-rwxr-xr-x 1 mh mh 5.5K Sep 5 23:04 some-file*
[12/[EMAIL PROTECTED]:~/tmp$ patch some-file /dev/null
[13/[EMAIL PROTECTED]:~/tmp$ ls -al
total 16K
drwxr-xr-x 2 mh mh 4.0K Sep 5 23:06 ./
drwxr-xr-x 18 mh mh 4.0K Sep 5 16:58 ../
-rwxr-xr-x 1 mh mh 5.5K Sep 5 23:04 some-file*
[14/[EMAIL PROTECTED]:~/tmp$ patch -o other-file some-file /dev/null
[15/[EMAIL PROTECTED]:~/tmp$ ls -al
total 16K
drwxr-xr-x 2 mh mh 4.0K Sep 5 23:06 ./
drwxr-xr-x 18 mh mh 4.0K Sep 5 16:58 ../
-rw------- 1 mh mh 0 Sep 5 23:06 other-file
-rwxr-xr-x 1 mh mh 5.5K Sep 5 23:04 some-file*
[16/[EMAIL PROTECTED]:~/tmp$
I think that patch -o should create a copy of the input file if fed a
null patch, as this is the same behavior as when editing a file in
place with a null patch.
Greetings
Marc
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.11-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages patch depends on:
ii libc6 2.3.6.ds1-3 GNU C Library: Shared libraries
patch recommends no packages.
-- no debconf information
--- End Message ---
signature.asc
Description: Digital signature
--- End Message ---