From: Stefan Monnier Date: Sun, 20 Nov 2011 04:34:32 +0000 (-0500) Subject: * src/fileio.c (Finsert_file_contents): Add missing gcpro1 variable. X-Git-Tag: emacs-pretest-24.0.92~118 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5bb9bd3a83d7a357b5e2ca0929efcb420197268;p=emacs.git * src/fileio.c (Finsert_file_contents): Add missing gcpro1 variable. Suggested by Dmitry Antipov . --- diff --git a/src/ChangeLog b/src/ChangeLog index 6cb461b0ea1..857fe6eaaaf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-11-20 Stefan Monnier + + * fileio.c (Finsert_file_contents): Add missing gcpro1 variable. + Suggested by Dmitry Antipov . + 2011-11-20 Juanma Barranquero * casetab.c (Fset_case_table): diff --git a/src/fileio.c b/src/fileio.c index e3586c50056..7e75e6285f0 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -62,7 +62,7 @@ along with GNU Emacs. If not, see . */ #ifdef DOS_NT /* On Windows, drive letters must be alphabetic - on DOS, the Netware - redirector allows the six letters between 'Z' and 'a' as well. */ + redirector allows the six letters between 'Z' and 'a' as well. */ #ifdef MSDOS #define IS_DRIVE(x) ((x) >= 'A' && (x) <= 'z') #endif @@ -3686,6 +3686,7 @@ variable `last-coding-system-used' to the coding system actually used. */) int this_count = SPECPDL_INDEX (); int multibyte = ! NILP (BVAR (current_buffer, enable_multibyte_characters)); Lisp_Object conversion_buffer; + struct gcpro gcpro1; conversion_buffer = code_conversion_save (1, multibyte); @@ -3706,7 +3707,7 @@ variable `last-coding-system-used' to the coding system actually used. */) { /* We read one bunch by one (READ_BUF_SIZE bytes) to allow quitting while reading a huge while. */ - /* try is reserved in some compilers (Microsoft C) */ + /* `try'' is reserved in some compilers (Microsoft C). */ EMACS_INT trytry = min (total - how_much, READ_BUF_SIZE - unprocessed);