This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,AVR]: Use tr instead of set to canonicalize line endings for cmp
- From: Joerg Wunsch <j at uriah dot heep dot sax dot de>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org, Denis Chertykov <chertykov at gmail dot com>, Eric Weddington <eric dot weddington at atmel dot com>
- Date: Thu, 31 May 2012 12:03:22 +0200
- Subject: Re: [Patch,AVR]: Use tr instead of set to canonicalize line endings for cmp
- References: <4FC60FE4.201@gjlay.de> <4FC64AC5.5020404@redhat.com> <4FC73F46.4050002@gjlay.de>
- Reply-to: Joerg Wunsch <joerg_wunsch at uriah dot heep dot sax dot de>
As Georg-Johann Lay wrote:
> If it's appropriate I would also set svn:mime-type to something
> like application/foo but that seems bit odd.
Rather set the svn:eol-style attribute to "LF" instead, I'd say.
But wait a moment, why not setting the svn:eol-style to "native", and
the generator utility to also use native line endings (fopen(...,
"w"))? That way, Windows should be able to use CR-LF for both, Unix
just LF, and MacOS just CR.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)