all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Antipov <antipov@mvista.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] some misuse of GCPROs
Date: Sat, 19 Nov 2011 23:35:23 -0500	[thread overview]
Message-ID: <jwv8vnbza1r.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <4EC694DD.4050908@yandex.ru> (Dmitry Antipov's message of "Fri, 18 Nov 2011 21:24:45 +0400")

>> 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	other threads:[~2011-11-20  4:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-18 14:06 [PATCH] some misuse of GCPROs Dmitry Antipov
2011-11-18 16:51 ` Stefan Monnier
2011-11-18 17:24   ` Dmitry Antipov
2011-11-20  4:35     ` Stefan Monnier [this message]
2011-11-18 19:04   ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8vnbza1r.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=antipov@mvista.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.