This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
C source files are not saved using Window newlines (0x0d 0x0a). Unix newline (0x0a) is used. Default platform in C/C++ Options is set to Windows.
This was done intentionally: all new c/c++ files created from IDE forced to have '\n' line separator.
we have checked it once more and decided to leave forcing '\n' only for shell files
- do not force '\n' for C/C++ files Need to be checked on Windows cvs log: Checking in CCKit.java; /shared/data/ccvs/repository/cnd/core/src/org/netbeans/modules/cnd/editor/cplusplus/CCKit.java,v <-- CCKit.java new revision: 1.22; previous revision: 1.21 done
fixed new lines are kept in existing files and system dependent for new files