Sander Striker wrote:
Recognise yes, honor no.  IOW, once you save a file in VS it gets \r\n
line endings.

Talking of VC6 SP5 and VC 7.1 - they don't convert \n to \r\n.


Hmm, I could have sworn VC6 SP5 did

No, I confirmed it in VC6 by loading a unix-style newline file, making a change in it and saving it... It still had unix style newlines.


I have to admit that I only assumed that Visual Studio .Net (VC 7) would do the same thing, but if VC 6 does I that's a good assumption. I can confirm it tomorrow at work where I have VC 7.

I don't think we have to worry about anything older than VC 6.

Remember, this only is a problem if a commiter is using an editor that plays badly with unix newlines. There are not many people with commit rights.

 -- sidney



Reply via email to