Bug#74862: tetex-bin: makeindex does not like DOS line-endings
Hilmar Preusse <hille42@web.de> writes:
> I was thinking about that too. I guess scanid.c is for scanning the
> index file and not the style file.
That's what I guessed too ...
> The index file itself is generated during the LaTeX run. Hence
> I guess, we won't have that problem here.
right, but if you transfer files between DOS/Unix you may still
get a problem with these. So I thought, while we're at it, why
not do the entire job ;-)
>> from scanst.h:
>>
>> #define STY_SKIPLINE { \
>> int a; \
>> while ( ((a = GET_CHAR(sty_fp)) != LFD) && (a != EOF) ); \
>> sty_lc++; \
>> }
>>
> Could look like:
> while ( ((a = GET_CHAR(sty_fp)) != LFD) && (a != EOF) && (a != CRN) ); \
> right?
yup.
--
Stefan Ulrich
Reply to: