aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c
index f6541062f99..e81893c185a 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3166,9 +3166,9 @@ This does code conversion according to the value of\n\
3166 if (!NILP (replace) 3166 if (!NILP (replace)
3167 && (! CODING_REQUIRE_CONVERSION (&coding) 3167 && (! CODING_REQUIRE_CONVERSION (&coding)
3168 || (coding.type == coding_type_automatic 3168 || (coding.type == coding_type_automatic
3169 && ! CODING_REQUIRE_TEXT_CONVERSION (&coding)) 3169 && ! CODING_REQUIRE_EOL_CONVERSION (&coding))
3170 || (coding.eol_type == CODING_EOL_AUTOMATIC 3170 || (coding.eol_type == CODING_EOL_AUTOMATIC
3171 && ! CODING_REQUIRE_EOL_CONVERSION (&coding)))) 3171 && ! CODING_REQUIRE_TEXT_CONVERSION (&coding))))
3172 { 3172 {
3173 int same_at_start = BEGV; 3173 int same_at_start = BEGV;
3174 int same_at_end = ZV; 3174 int same_at_end = ZV;
@@ -3336,7 +3336,7 @@ This does code conversion according to the value of\n\
3336 int bufpos; 3336 int bufpos;
3337 /* Make sure that the gap is large enough. */ 3337 /* Make sure that the gap is large enough. */
3338 int bufsize = 2 * st.st_size; 3338 int bufsize = 2 * st.st_size;
3339 unsigned char *conversion_buffer = (unsigned char *) malloc (bufsize); 3339 unsigned char *conversion_buffer = (unsigned char *) xmalloc (bufsize);
3340 3340
3341 /* First read the whole file, performing code conversion into 3341 /* First read the whole file, performing code conversion into
3342 CONVERSION_BUFFER. */ 3342 CONVERSION_BUFFER. */