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

Bug#929729: lintian: \n in filenames cause "md5sum: ...: No such file or directory"



Hi Felix,

> The index files seem to be inspired by the 't' option in tar. My sense
> is that we need more encoding rather than less to preserve the meaning
> of whitespace, and especially newlines, in those files.

Sure thing. I guess unless we moved these to a "NUL"-terminated format
but that's going to be a little too annoying in Perl and non-intuitive
to boot.

> > adjust all the consumer/producers of that data to reflect that? The
> > current situation as I understand it is that some assume the former,
> > some the latter.
> 
> I believe there is only one of each. Please let me know if you found others.
[..]
> which uses the subroutine 'dequote_name' from here:

Sounds about right. But just to add: when I was looking at this issue
before I tried using exactly this routine in the producers & consumers
and IIRC this actually caused further breakage. YMMV. :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-


Reply to: