[qmtest] File Attachment line endings mangled

Mark Mitchell mark at codesourcery.com
Wed Mar 8 22:50:29 UTC 2006


Ken Horovatin wrote:

> The problem I'm facing is that, when the file attachments (all text) are
> copied to the attachment store in the test database, something is
> mangling the files: files that use a Unix line-end are copied to the
> store unmolested, but files with a DOS line-end (CRLF) end up with
> mangled line ends (i.e. the CRLF seems to be reversed to a LFCR). As a
> result, the tests fail.

That's really strange.  Are you sure it's turning into LF/CR and not
just the UNIX LF convention?  I can't think of anything that would
mangle it in the way that you suggest.

-- 
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713



More information about the qmtest mailing list