HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(setup_process_coding_systems): If the process's
[bpt/emacs.git]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
fbe3ae6
..
77c9e85
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-598,6
+598,9
@@
setup_process_coding_systems (process)
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));