Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
409:301b9ebbdf3b | 410:de805c49cfc1 |
---|---|
67 } | 67 } |
68 else | 68 else |
69 { | 69 { |
70 CHECK_STRING (tty); | 70 CHECK_STRING (tty); |
71 stream_con->in = stream_con->out = stream_con->err = | 71 stream_con->in = stream_con->out = stream_con->err = |
72 fopen ((char *) XSTRING_DATA (tty), "r+"); | 72 /* #### We don't currently do coding-system translation on |
73 this descriptor. */ | |
74 fopen ((char *) XSTRING_DATA (tty), READ_PLUS_TEXT); | |
73 if (!stream_con->in) | 75 if (!stream_con->in) |
74 error ("Unable to open tty %s", XSTRING_DATA (tty)); | 76 error ("Unable to open tty %s", XSTRING_DATA (tty)); |
75 } | 77 } |
76 } | 78 } |
77 | 79 |