Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c07c8e12
Commit
c07c8e12
authored
Dec 15, 2000
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(setup_coding_system): Clear all members of the struct
coding_system at first.
parent
c5443913
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/coding.c
src/coding.c
+3
-2
No files found.
src/coding.c
View file @
c07c8e12
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment