Commit 9b96232f authored by Kenichi Handa's avatar Kenichi Handa

(setup_coding_system): Be sure to initialize coding->category_idx.

parent 91372bb7
......@@ -3011,6 +3011,12 @@ setup_coding_system (coding_system, coding)
}
else
coding->type = coding_type_no_conversion;
/* Initialize this member. Any thing other than
CODING_CATEGORY_IDX_UTF_16_BE and
CODING_CATEGORY_IDX_UTF_16_LE are ok because they have
special treatment in detect_eol. */
coding->category_idx = CODING_CATEGORY_IDX_EMACS_MULE;
return 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment