[Q] Regenerate src/depend with LF line endings, not CRLF.

Aidan Kehoe kehoea at parhasard.net
Sun Apr 6 13:29:37 EDT 2008


 Ar an séiú lá de mí Aibréan, scríobh Michael Sperber: 

 > 
 > Aidan Kehoe <kehoea at parhasard.net> writes:
 > 
 > > What’s especially Windows about it? 
 > 
 > It's only used on Windows and only generated on Windows.

Hmm? No. From configure.ac:

dnl Build Makefile.in's from Makefile.in.in's
dnl except ./Makefile from $srcdir/Makefile.in
dnl src/Makefile.in will have src/depend appended to it;
dnl module Makefiles will have the common text in
dnl modules/common/Makefile.common appended.

The Makefile that is used in src/ is constructed from it, on Unix. I’m not
certain exactly how it’s used on Windows, but I do know that it worked with
LF endings for years, before your change of January.

 > > Anyway, previous to your committing it with CRLF endings, it had had
 > > LF endings for over a decade. If your committing it with CRLF endings
 > > was intended to address a problem on Windows, you didn’t document
 > > that.
 > 
 > I assume that was because CVS couldn't handle the conversion more
 > gracefully.  Re-generating on Windows is naturally going to re-introduce
 > CRLF line endings.  Thus, changing to LF introduces needless
 > complications.

The needless complication was the switch to CRLF. 

-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?



More information about the XEmacs-Patches mailing list