From: SourceForge.net <no...@so...> - 2006-09-25 16:37:13
|
Bugs item #1564818, was opened at 2006-09-24 22:54 Message generated for change (Comment added) made by sds You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1564818&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: clisp Group: lisp error Status: Open Resolution: None Priority: 5 Submitted By: Mike McMahon (mmcm) Assigned to: Bruno Haible (haible) Summary: CRLF handling does not work for UNICODE-16 Initial Comment: CRLF is not converted to #\Newline by READ-CHAR and READ-LINE from 16-bit Unicode files. (clisp 2.39 MinGW no-readline XP.) For -BIG-ENDIAN, the LF is not recognized and an extra blank line is input. For -LITTLE-ENDIAN, only the LF byte is removed and an "incomplete byte sequence at end of buffer" failure results. The culprit is code marked "FIXME: This is wrong." in stream.d. The straightforward fix is to move the ignore_next_LF flag from BufferedStream to ChannelStream and use it in the two marked cases. This seems to work fine for me locally. Perhaps I am overlooking some problem with this approach. ---------------------------------------------------------------------- >Comment By: Sam Steingold (sds) Date: 2006-09-25 12:37 Message: Logged In: YES user_id=5735 could you please attach your patch to this issue? thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1564818&group_id=1355 |