From cmucl-devel at common-lisp.net Mon Jun 27 15:14:15 2011 From: cmucl-devel at common-lisp.net (cmucl) Date: Mon, 27 Jun 2011 15:14:15 -0000 Subject: [cmucl-ticket] [cmucl] #43: unread-char doesn't change file-position In-Reply-To: <052.a1f34f9585c81059d038bafe5751e955@common-lisp.net> References: <052.a1f34f9585c81059d038bafe5751e955@common-lisp.net> Message-ID: <061.ae590e00240e5a27b30b79ae552198be@common-lisp.net> #43: unread-char doesn't change file-position ----------------------+----------------------------------------------------- Reporter: rtoy | Owner: Type: defect | Status: reopened Priority: major | Milestone: Component: Unicode | Version: 20b Resolution: | Keywords: ----------------------+----------------------------------------------------- Changes (by rtoy): * status: closed => reopened * resolution: fixed => Comment: The fix that was implemented in stream.lisp does fix this issue. However, it causes the Unicode tests in {{{src/i18n/tests}}} to fail. Cmucl ends up reading in the whole file into one string and causes an error. The change has been reverted, pending a better fix. This ticket is then, of course, reopened. -- Ticket URL: cmucl Cmucl is a high-performance, free Common Lisp implementation. From cmucl-devel at common-lisp.net Wed Jun 29 01:00:34 2011 From: cmucl-devel at common-lisp.net (cmucl) Date: Wed, 29 Jun 2011 01:00:34 -0000 Subject: [cmucl-ticket] [cmucl] #43: unread-char doesn't change file-position In-Reply-To: <052.a1f34f9585c81059d038bafe5751e955@common-lisp.net> References: <052.a1f34f9585c81059d038bafe5751e955@common-lisp.net> Message-ID: <061.f322c8849b5d38c5d6a2752f2b8f37ff@common-lisp.net> #43: unread-char doesn't change file-position ----------------------+----------------------------------------------------- Reporter: rtoy | Owner: Type: defect | Status: closed Priority: major | Milestone: Component: Unicode | Version: 20b Resolution: fixed | Keywords: ----------------------+----------------------------------------------------- Changes (by rtoy): * status: reopened => closed * resolution: => fixed Comment: This has been fixed (again) in a different way. The fix is in fd- stream.lisp in {{{FILE-POSITION}}}, which needs to account for any unprocessed characters as well as any octets that are in the buffer but have not been converted to characters yet. -- Ticket URL: cmucl Cmucl is a high-performance, free Common Lisp implementation.