DOS line endings

Zack Weinberg zack@codesourcery.com
Wed Apr 23 05:36:00 GMT 2003


"Ranjit Mathew" <rmathew4lists@hotmail.com> writes:

>> Most of the other files in boehm-gc come from an external source.  I'd
>> prefer we not change them here, as we do import new versions from time
>> to time.
>
> Agreed.
>
> Do DOS line endings cause any problems that you wish to remove them?
>
> Or is it just for the sake of aesthetics? :-)

I did run into a problem earlier today.  The short version is that
certain proprietary and far too clever for their own good version
control systems consider that a file that originally had Unix line
endings must have them forever and ever, world without end, amen, and
if you try to check in a new version of the file that's unchanged but
for acquiring DOS line endings, it will say "You didn't change
anything!  I refuse to check this in!"  This causes headaches for
automatic scripts attempting to track a CVS repository in this
system.

But it doesn't seem to mind files that have always had DOS line
endings.

zw



More information about the Java mailing list