Bug#789579: wrap-and-sort should not add a newline to empty files

Chris Lamb lamby at debian.org
Mon Jun 22 10:19:24 UTC 2015


Package: devscripts
Version: 2.15.5
Severity: wishlist
Tags: patch

Hi,

If you have zero-byte (eg.) debian/copyright file, running wrap-and-sort
will actually *add* a trailing newline instead of keeping it at zero
bytes as you might expect.

Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20150622/674750a9/attachment.txt>


More information about the devscripts-devel mailing list