[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#74862: tetex-bin: makeindex does not like DOS line-endings



Florent Rougon <f.rougon@free.fr> schrieb:

> Frank Küster <frank@debian.org> wrote:
>
>> carriage return. On the other hand, don't the DOS lines use LFD+CR (not
>> CR+LFD)? Then it shouldn't make any difference, unless the code
>> explicitly looks at stuff after the end of the line...
>
> Unix:
>   Line Feed
>
> DOS/Windows:
>   Carriage Return, then Line Feed

Then what is the right name in C files? Lines like this:

(c != TAB) && (c != LFD) && (c != EOF))

should probably be

(c != TAB) && (c != LFD) && (c != "carriage return") && (c != EOF))

But I don't know the codename.

> MacOS (9, I don't know what X does):
>   Carriage Return

I think the eps files I copy from the OSX boxes also have only those
^M's instead of newlines...

Regards, Frank
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: