load and compile-file fail to represent line division as newline on windows
1. A very clear description of the requirements and associated problems is in CLtL2, section 2.2.2. "Line Divisions", online here:
2. Write the following code into a Lisp file in a plain text editor (e.g., Notepad) on Windows and then LOAD the resulting file.
(format t "~:c" (char "
" 0)) ; Should print Newline
It should print Newline. Otherwise, it's a bug. On SBCL it prints Return.
3. MINGW32_NT-5.1 MHD-PC 1.0.11(0.46/3/2) 2009-05-12 18:47 i686 unknown
(:SWANK :DEBUGGING :ASDF :ANSI-CL :COMMON-LISP :SBCL :SB-DOC :SB-TEST :SB-LDB
:SB-PACKAGE-LOCKS :SB-UNICODE :SB-EVAL :SB-SOURCE-
:CYCLE-COUNTER :INLINE-CONSTANTS :LINKAGE-TABLE :OS-PROVIDES-DLOPEN
- load and compile-file fail to represent line division not represented as
- newline on windows
+ load and compile-file fail to represent line division as newline on
|Changed in sbcl:|
|importance:||Undecided → High|
|status:||New → Triaged|