make-w32
[Top][All Lists]
Advanced

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

Re: make/tests issues


From: Paul D. Smith
Subject: Re: make/tests issues
Date: Sat, 6 Mar 2004 10:34:34 -0500

I agree with Eli that we shouldn't need special handling in the
regression tests.  There are three tools involved: make, perl, and diff.
Perl writes the base file, make writes the log file, and diff compares
them.  As long as the first two use the same line ending method, diff
should have no issue regardless of whether it's CRLF or LF.

So, the question is why does make write newlines one way when it writes
"\n", and Perl write newlines the other way when _it_ writes "\n"?

And, is there any way to get Perl to use the same line ending method as
make?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

[Prev in Thread] Current Thread [Next in Thread]