Package: quilt
Version: 0.48-7
Severity: important

Hi!

Out of fun I just tried to create a quilt patchset on a binary file.  I
didn't expected it to work, but to my surprise I didn't got any error or
warning message.  What I did was basically the following:

quilt new test ; quilt add $binaryfile ; cp $differentbinaryfile
$binaryfile ; quilt refresh

and voila!  I had a "patches/test" file.

However, looking at it, it just contained "Binary files
a/tutorial-part3.map and b/tutorial-part3.map differ" which is the output
of diff.

I would have expected quilt to actually error out.  Looking a bit further,
found that diff actually exits with a non-zero exit code, when diffing
binary files:

$ diff $differentbinaryfile $binaryfile > /dev/null ; echo $?
2

Which makes we wonder, if quilt actually minds the exit code of the diff it
calls.


Best regards,
  Alexander


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages quilt depends on:
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  diffstat                      1.53-1     produces graph of changes introduc
ii  gettext                       0.18.1.1-3 GNU Internationalization utilities
ii  patch                         2.6-2      Apply a diff file to an original

quilt recommends no packages.

Versions of packages quilt suggests:
pn  graphviz                      <none>     (no description available)
pn  procmail                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to