summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream.c2
-rw-r--r--txr.111
2 files changed, 8 insertions, 5 deletions
diff --git a/stream.c b/stream.c
index 8abff6cb..14b50f15 100644
--- a/stream.c
+++ b/stream.c
@@ -1317,7 +1317,7 @@ static val format_mode(const struct stdio_mode m)
*ptr++ = 'b';
#ifdef __CYGWIN__
- if (!m.binary && (!opt_compat || opt_compat > 143))
+ if (!m.binary && (opt_compat == 144 || opt_compat == 145))
*ptr++ = 't';
#endif
diff --git a/txr.1 b/txr.1
index 3361a652..df6c642d 100644
--- a/txr.1
+++ b/txr.1
@@ -43522,6 +43522,13 @@ of these version values, the described behaviors are provided if
is given an argument which is equal or lower. For instance
.code "-C 103"
selects the behaviors described below for version 105, but not those for 102.
+.IP 145
+In versions 144 and 145, \*(TX opened files in text mode on Cygwin,
+enabling conversion between CR-LF line endings and abstract newline
+characters. This behavior change was retracted, so that files on Cygwin are
+opened without specifying text mode, causing the streams to be effectively
+binary. The intended "Windows native" behavior of streams being text mode is
+instead provided in the Windows version of \*(TX by the Cygnal library.
.IP 143
Until version 143, the
.code stdlib
@@ -43537,10 +43544,6 @@ mark, if the symbol was previously defined as a special variable.
Also, until version 143 many more places in the \*(TX pattern language used
bind expressions rather than Lisp expressions. The compatibility
option restores these behaviors.
-Lastly, starting in version 144, on the Cygwin platform, streams
-opened in text mode perform conversion between the CR-LF line
-endings in the external representations and newline characters
-in the stream.
.IP 142
Until version 142, the \*(TX pattern language supported a prefix
convention on data sources. Data sources beginning with the character