comparison src/file-coding.c @ 404:2f8bb876ab1d r21-2-32

Import from CVS: tag r21-2-32
author cvs
date Mon, 13 Aug 2007 11:16:07 +0200
parents a86b2b5e0111
children b8cc9ab3f761
comparison
equal deleted inserted replaced
403:9f011ab08d48 404:2f8bb876ab1d
2237 { 2237 {
2238 setup_ccl_program (&str->ccl, CODING_SYSTEM_CCL_DECODE (str->codesys)); 2238 setup_ccl_program (&str->ccl, CODING_SYSTEM_CCL_DECODE (str->codesys));
2239 } 2239 }
2240 str->counter = 0; 2240 str->counter = 0;
2241 #endif /* MULE */ 2241 #endif /* MULE */
2242 if (CODING_SYSTEM_TYPE (str->codesys) == CODESYS_AUTODETECT
2243 || CODING_SYSTEM_EOL_TYPE (str->codesys) == EOL_AUTODETECT)
2244 {
2245 xzero (str->decst);
2246 str->decst.eol_type = EOL_AUTODETECT;
2247 str->decst.mask = ~0;
2248 }
2242 str->flags = str->ch = 0; 2249 str->flags = str->ch = 0;
2243 } 2250 }
2244 2251
2245 static int 2252 static int
2246 decoding_rewinder (Lstream *stream) 2253 decoding_rewinder (Lstream *stream)