Mercurial > hg > xemacs-beta
diff src/console-stream.c @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:19:21 +0200 |
parents | 501cfd01ee6d |
children | 697ef44129c6 |
line wrap: on
line diff
--- a/src/console-stream.c Mon Aug 13 11:18:12 2007 +0200 +++ b/src/console-stream.c Mon Aug 13 11:19:21 2007 +0200 @@ -69,7 +69,9 @@ { CHECK_STRING (tty); stream_con->in = stream_con->out = stream_con->err = - fopen ((char *) XSTRING_DATA (tty), "r+"); + /* #### We don't currently do coding-system translation on + this descriptor. */ + fopen ((char *) XSTRING_DATA (tty), READ_PLUS_TEXT); if (!stream_con->in) error ("Unable to open tty %s", XSTRING_DATA (tty)); }