bug-m4
[Top][All Lists]
Advanced

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

Re: Assertion error when building in Debug mode with MSVC


From: Paul Eggert
Subject: Re: Assertion error when building in Debug mode with MSVC
Date: Tue, 25 Jan 2022 21:35:08 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 1/25/22 14:33, Julien Marrec wrote:

Are the programs in question using the fclose module, either directly or
indirectly?

Well, simply doing `m4.exe --version` does exhibit the issue.

For the module info we need to look at something other than that.

Does your m4 source code contain the files fclose.c and fclose.m4 somewhere?

When you configured m4, did it say "checking whether fclose works on input streams" and if so what was the result?

When you built m4, did the build compile fclose.c and create an object file fclose.o?

In close_stream, shouldn't the stdout FILE * be set to NULL if the close
worked

No, as that's just a local variable so setting it to NULL won't persist until the next call.



reply via email to

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