Mercurial > emacs
diff src/process.c @ 49872:012ced9cf144
(setup_process_coding_systems): If the process's
in/out descriptor is -1, do nothing.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 20 Feb 2003 01:54:09 +0000 |
parents | 7c27c9efd353 |
children | 675b86cf29fc |
line wrap: on
line diff
--- a/src/process.c Wed Feb 19 21:23:59 2003 +0000 +++ b/src/process.c Thu Feb 20 01:54:09 2003 +0000 @@ -598,6 +598,9 @@ int inch = XINT (p->infd); int outch = XINT (p->outfd); + if (inch < 0 || outch < 0) + return; + if (!proc_decode_coding_system[inch]) proc_decode_coding_system[inch] = (struct coding_system *) xmalloc (sizeof (struct coding_system));