EOL mess: to the attention of Win32 guys

From: Tomas Frydrych <tomasfrydrych_at_yahoo.co.uk>
Date: Fri May 20 2005 - 10:49:01 CEST

I have just removed some \r from ap_Win32_StatusBar.cpp that should not
have been there, and recently I have seen a lot of it. One case where
this happens if you check out files with unix eol conventions, but use
MSVC (at least 6.0) to edit them. The MSVC editor is braindead; it will
ignore the original eol conventions and replace them with DOS ones, but
only on the lines it changes => if you want to use the MSVC editor, you
really have to check out files with DOS eols.

This is unpleasant in the win32 code, but really bad if it happens in XP
code, where it can cause real breakage, particularly if it happens in
any pre-processor stuff. Please, everyone take care to avoid this.

Received on Fri May 20 10:48:38 2005

This archive was generated by hypermail 2.1.8 : Fri May 20 2005 - 10:48:38 CEST