HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c544391
)
(setup_coding_system): Clear all members of the struct
author
Kenichi Handa
<handa@m17n.org>
Fri, 15 Dec 2000 04:45:53 +0000
(
04:45
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 15 Dec 2000 04:45:53 +0000
(
04:45
+0000)
coding_system at first.
src/coding.c
patch
|
blob
|
blame
|
history
diff --git
a/src/coding.c
b/src/coding.c
index
6343187
..
41e4eb1
100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-2985,10
+2985,11
@@
setup_coding_system (coding_system, coding)
Lisp_Object val;
int i;
+ /* At first, zero clear all members. */
+ bzero (coding, sizeof (struct coding_system));
+
/* Initialize some fields required for all kinds of coding systems. */
coding->symbol = coding_system;
- coding->common_flags = 0;
- coding->mode = 0;
coding->heading_ascii = -1;
coding->post_read_conversion = coding->pre_write_conversion = Qnil;
coding->composing = COMPOSITION_DISABLED;