Re: apt and publicfile's httpd
[email protected] Thu, 4 Nov 2004 15:30:15 -0800
| Newsgroups | gmane.comp.djb.publicfile |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Nov 02, 2004 at 06:50:04PM +0100, Clemens Fischer wrote: > * 2004-10-27 [email protected]: > > > # cmp qmail-1.03-111patch_14_15.src.rpm.FAILED qmail-1.03-111patch_14_15.src.rpm > > qmail-1.03-111patch_14_15.src.rpm.FAILED qmail-1.03-111patch_14_15.src.rpm differ: byte 95233, line 345 > > > > Investigating, I see > > > > # od -t a -j 95232 -N 10 qmail-1.03-111patch_14_15.src.rpm.FAILED > > 0272000 us nak us j * bel Q sub 9 N > > 0272012 > > > > # od -t a -j 95232 -N 10 qmail-1.03-111patch_14_15.src.rpm > > 0272000 cr us nak us j * bel Q sub 9 > > 0272012 > > > > So it seems missing cr's cause the corruption of the file. > > can you assert the "Content-Type" of the files publicfile is serving? it must > be a binary type, not text/*! Look into the content-type patch for publicfile. I find it quite useful: http://www.ohse.de/uwe/patches/publicfile-0.52-filetype-diff It uses envdir. -- adam