[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27642: 26.0.50; Assertion failure with nested load
From: |
Eli Zaretskii |
Subject: |
bug#27642: 26.0.50; Assertion failure with nested load |
Date: |
Thu, 13 Jul 2017 22:06:19 +0300 |
> 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.