emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] some misuse of GCPROs


From: Stefan Monnier
Subject: Re: [PATCH] some misuse of GCPROs
Date: Sat, 19 Nov 2011 23:35:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

>> I really dislike this inner_gcpro business, so I haven't installed
>> this hunk.  What is it needed for?
> I too, but this is a fix for 'reuse GCPRO' error. The following code

Oh, I see, thanks.  I added the patch below, then.


        Stefan


=== modified file 'src/fileio.c'
--- src/fileio.c        2011-11-20 02:29:42 +0000
+++ src/fileio.c        2011-11-20 04:31:52 +0000
@@ -3686,6 +3686,7 @@
       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);
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]