summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2011-11-07 10:57:07 +0900
committerKenichi Handa <handa@m17n.org>2011-11-07 10:57:07 +0900
commita0241d014e3d762bc7818d6cd8fd7c90bab3c538 (patch)
treea14ae98ada4e3490fecf36539f30ff4afb0ae8f8 /src/process.c
parent56c31147dce7a3b3c40792be5b115a2e6dbcfe1d (diff)
downloademacs-a0241d014e3d762bc7818d6cd8fd7c90bab3c538.tar.gz
Set members of the struct coding_system before accessing them (bug#9910,9911,9912).
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index c316139a713..301274676d6 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5387,6 +5387,7 @@ send_process (volatile Lisp_Object proc, const char *volatile buf,
}
else
{
+ coding->src_multibyte = 0;
/* For sending a unibyte text, character code conversion should
not take place but EOL conversion should. So, setup raw-text
or one of the subsidiary if we have not yet done it. */