fixed lineend handling; had segfaults here
authorClaus Gittinger <cg@exept.de>
Sat, 07 Feb 2015 13:57:06 +0100
changeset 17432 c4deddc2545a
parent 17431 bab67ea3bf22
child 17433 ae1ba5a1fa71
fixed lineend handling; had segfaults here
ExternalStream.st
--- a/ExternalStream.st	Sat Feb 07 13:33:18 2015 +0100
+++ b/ExternalStream.st	Sat Feb 07 13:57:06 2015 +0100
@@ -2036,12 +2036,10 @@
 eolMode
     "return how end-of-line (EOL) is to be marked.
      Returns one one of:
-        #crlf         -> use CR-NL, as in MSDOS
-        #cr           -> use CR, as in VMS or pre OSX mac
-        #nl           -> use NL, as in Unix
-        #eot          -> use EOT (as in some old modem protocols or mainframe files)
-        #etx          -> use ETX (as in some old modem protocols or mainframe files)
-        anyOther      -> like #nl
+	#crlf         -> add a CR-NL, as in MSDOS
+	#cr           -> add a CR, as in VMS
+	#nl           -> add a NL, as in Unix
+	nil           -> transparent
     "
 
     ^ eolMode
@@ -2050,12 +2048,10 @@
 eolMode:aSymbolOrNil
     "specify how end-of-line (EOL) is to be marked.
      The argument may be one of:
-        #crlf         -> use CR-NL, as in MSDOS
-        #cr           -> use CR, as in VMS or pre OSX mac
-        #nl           -> use NL, as in Unix
-        #eot          -> use EOT (as in some old modem protocols or mainframe files)
-        #etx          -> use ETX (as in some old modem protocols or mainframe files)
-        anyOther      -> like #nl
+	#crlf         -> add a CR-NL, as in MSDOS
+	#cr           -> add a CR, as in VMS
+	#nl           -> add a NL, as in Unix
+	anyOther      -> like #nl
     "
 
     eolMode := aSymbolOrNil
@@ -6423,11 +6419,11 @@
 !ExternalStream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ExternalStream.st,v 1.404 2015-02-07 12:32:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ExternalStream.st,v 1.405 2015-02-07 12:57:06 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/ExternalStream.st,v 1.404 2015-02-07 12:32:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ExternalStream.st,v 1.405 2015-02-07 12:57:06 cg Exp $'
 ! !