unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: p.stephani2@gmail.com, 27642@debbugs.gnu.org
Subject: bug#27642: 26.0.50; Assertion failure with nested load
Date: Thu, 13 Jul 2017 22:06:19 +0300	[thread overview]
Message-ID: <83h8yggnro.fsf@gnu.org> (raw)
In-Reply-To: <e7c57d46-7864-1959-7e7a-d59f9a1c769c@cs.ucla.edu> (message from Paul Eggert on Thu, 13 Jul 2017 11:24:10 -0700)

> Cc: p.stephani2@gmail.com, 27642@debbugs.gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Thu, 13 Jul 2017 11:24:10 -0700
> 
> On 07/13/2017 11:08 AM, Eli Zaretskii wrote:
> > Doesn't that get in the
> > way of the outer call, if it then tries to resume its readevalloop?
> 
> The outer call reassigns its own value to the 'infile' static variable 
> before resuming the loop. This reassignment was needed even before my 
> recent lread.c changes (the static variable was called 'instream' back 
> then). A reassignment is needed because the outer call cannot continue 
> to read from a closed FILE * value, as that would have undefined behavior.

Ah, okay.  Thanks for explaining.





      reply	other threads:[~2017-07-13 19:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10 15:45 bug#27642: 26.0.50; Assertion failure with nested load Philipp Stephani
2017-07-12 14:52 ` Eli Zaretskii
2017-07-12 21:25   ` Paul Eggert
2017-07-13 18:08     ` Eli Zaretskii
2017-07-13 18:24       ` Paul Eggert
2017-07-13 19:06         ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83h8yggnro.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=27642@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=p.stephani2@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).