[slime-devel] [PATCH] fix for bad source position in ACL6.2/win32
Helmut Eller
e9626484 at stud3.tuwien.ac.at
Fri Nov 19 01:34:59 UTC 2004
Matthew Danish <mrd+nospam at cmu.edu> writes:
> This quick hack counts the number of carriage returns that need to be
> subtracted from the file-position. It runs quickly enough on large
> (15msec to count CRs for 4481 lines in a file I am testing) files that
> I think it should be acceptable, unless someone has a better idea. I
> don't know if 7.0 has this problem as well; if not then this could be
> conditionalized.
The problem is the same with 7.0 if I open a file with DOS-style
eol-conversion. At least on Linux. The Allegro manual says something
about #\newline#\linefeed -> \#newline conversion under Windows, but I
didn't understand when exactly it is used. Let's use your patch until
somebody encounters a real problem.
Helmut.
More information about the slime-devel
mailing list