summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/doc/ChangeLog5
-rw-r--r--winsup/doc/textbinary.sgml4
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 274b9c5ff..d87b4a6d2 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-17 Christopher Faylor <cgf@timesys.com>
+
+ * textbinary.sgml: Correct incorrect information about ability to
+ specify text mode in fopen().
+
2005-08-05 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* cygwin.dsl: Add default DOCTYPE and output filename.
diff --git a/winsup/doc/textbinary.sgml b/winsup/doc/textbinary.sgml
index 3e1274db2..1e74c5861 100644
--- a/winsup/doc/textbinary.sgml
+++ b/winsup/doc/textbinary.sgml
@@ -158,8 +158,8 @@ specified with the flag <literal>O_BINARY</literal> and text mode with
<filename>fcntl.h</filename>.</para>
<para>In the <function>fopen()</function> function call, binary mode can be
-specified by adding a <literal>b</literal> to the mode string. There is no
-direct way to specify text mode.</para>
+specified by adding a <literal>b</literal> to the mode string. Text mode is specified
+by adding a <literal>t</literal> to the mode string.</para>
<para>The mode of a file can be changed by the call
<function>setmode(fd,mode)</function> where <literal>fd</literal> is a file