Changeset 4060
- Timestamp:
- 04/23/06 10:08:14 (3 years ago)
- Files:
-
- trunk/src/ChangeLog.Meadow (modified) (1 diff)
- trunk/src/coding.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/ChangeLog.Meadow
r4058 r4060 1 2006-04-23 MIYOSHI Masanori <miyoshi@meadowy.org> 2 3 * coding.c: Undo the last merge temporarily. Refer to ticket:296. 4 1 5 2006-04-16 MIYOSHI Masanori <miyoshi@meadowy.org> 2 6 trunk/src/coding.c
r4058 r4060 736 736 else \ 737 737 { \ 738 c -= 0x 80; \738 c -= 0xA0; \ 739 739 *p++ = c; \ 740 740 } \ … … 3608 3608 coding->eol_type = CODING_EOL_UNDECIDED; 3609 3609 coding->common_flags = CODING_REQUIRE_DETECTION_MASK; 3610 if (system_eol_type != CODING_EOL_LF)3611 coding->common_flags |= CODING_REQUIRE_ENCODING_MASK;3612 3610 } 3613 3611 else if (XFASTINT (eol_type) == 1) … … 3925 3923 coding->category_idx = CODING_CATEGORY_IDX_BINARY; 3926 3924 coding->common_flags = 0; 3927 coding->eol_type = NILP (coding_system) ? system_eol_type : CODING_EOL_LF; 3928 if (coding->eol_type != CODING_EOL_LF) 3929 coding->common_flags 3930 |= CODING_REQUIRE_DECODING_MASK | CODING_REQUIRE_ENCODING_MASK; 3925 coding->eol_type = CODING_EOL_LF; 3931 3926 coding->pre_write_conversion = coding->post_read_conversion = Qnil; 3932 return NILP (coding_system) ? 0 :-1;3927 return -1; 3933 3928 } 3934 3929 … … 5004 4999 coding->errors = 0; 5005 5000 coding->result = CODING_FINISH_NORMAL; 5006 if (coding->eol_type == CODING_EOL_UNDECIDED)5007 coding->eol_type = system_eol_type;5008 5001 5009 5002 switch (coding->type) … … 5262 5255 || coding->eol_type == CODING_EOL_CRLF 5263 5256 || coding->eol_type == CODING_EOL_CR 5264 || (coding->eol_type == CODING_EOL_UNDECIDED5265 && system_eol_type != CODING_EOL_LF)5266 5257 || (coding->cmp_data && coding->cmp_data->used > 0)) 5267 5258 { … … 7119 7110 to = XFASTINT (end); 7120 7111 7121 if (NILP (coding_system) && system_eol_type == CODING_EOL_LF)7112 if (NILP (coding_system)) 7122 7113 return make_number (to - from); 7123 7114 … … 7174 7165 CHECK_SYMBOL (coding_system); 7175 7166 7176 if (NILP (coding_system) && system_eol_type == CODING_EOL_LF)7167 if (NILP (coding_system)) 7177 7168 return (NILP (nocopy) ? Fcopy_sequence (string) : string); 7178 7169 … … 7233 7224 CHECK_SYMBOL (coding_system); 7234 7225 7235 if (NILP (coding_system) && system_eol_type == CODING_EOL_LF)7226 if (NILP (coding_system)) 7236 7227 return string; 7237 7228
