fix socket bug with undo char.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2053 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
535a43245d
commit
b677c030de
@ -1562,6 +1562,10 @@ PlUnGetc (int sno)
|
||||
s->stream_getc = MemGetc;
|
||||
s->stream_putc = MemPutc;
|
||||
s->stream_wputc = put_wchar;
|
||||
} else if (s->status & Socket_Stream_f) {
|
||||
s->stream_getc = SocketGetc;
|
||||
s->stream_putc = SocketPutc;
|
||||
s->stream_wputc = put_wchar;
|
||||
} else if (s->status & Promptable_Stream_f) {
|
||||
s->stream_putc = ConsolePutc;
|
||||
s->stream_wputc = put_wchar;
|
||||
|
Reference in New Issue
Block a user