comparison src/fileio.c @ 90399:a5812696f7bf unicode-pre-font-backend

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 274-284) - Update from CVS - Update etc/MORE.STUFF. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 101) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-62
author Miles Bader <miles@gnu.org>
date Wed, 17 May 2006 07:46:49 +0000
parents bcc2042feec2 e963ced8a1ca
children a8190f7e546e
comparison
equal deleted inserted replaced
90398:1f8d5cd37cf0 90399:a5812696f7bf
4291 4291
4292 /* At this point, HOW_MUCH should equal TOTAL, or should be <= 0 4292 /* At this point, HOW_MUCH should equal TOTAL, or should be <= 0
4293 if we couldn't read the file. */ 4293 if we couldn't read the file. */
4294 4294
4295 if (how_much < 0) 4295 if (how_much < 0)
4296 { 4296 error ("IO error reading %s: %s",
4297 if (how_much == -1) 4297 SDATA (orig_filename), emacs_strerror (errno));
4298 error ("IO error reading %s: %s",
4299 SDATA (orig_filename), emacs_strerror (errno));
4300 else if (how_much == -2)
4301 error ("maximum buffer size exceeded");
4302 }
4303 4298
4304 if (unprocessed > 0) 4299 if (unprocessed > 0)
4305 { 4300 {
4306 coding.mode |= CODING_MODE_LAST_BLOCK; 4301 coding.mode |= CODING_MODE_LAST_BLOCK;
4307 decode_coding_c_string (&coding, read_buf, unprocessed, 4302 decode_coding_c_string (&coding, read_buf, unprocessed,