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

Re: D-I and busybox 1.9.1 test results

On Saturday 08 March 2008, Ian Campbell wrote:
> On Sat, 2008-03-08 at 13:51 +0100, Frans Pop wrote:
> > Hmm. Weird.
> > If I use cat on the files, I get the content. But if I use less, I
> > only get:
> > $ less config.deb
> > busybox-1.9.1/debian/config/config.deb:
> >
> > *** Contents:
> >
> > So that's why I thought they were empty. As I said, weird :-)
> I tripped over this recently as well. Less (actually lesspipe via
> $LESSOPEN in my case) tries to interpret *.deb as a Debian package,
> which fails in the above manner if the file in question isn't actually a
> package.

Thanks for the hint. I've just filed an RC BR against less (#470453).
Reading the manpage for lesspipe, it seems to me that that whole "feature" 
is seriously broken by design for not checking magic numbers instead of 
relying on extentions.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: