Thank you both.
I'll try the patch to see if it changes anything. The conan recipe pulls
from https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.gz and I suppose that's
preconfigured sources or something, so I need to figure out how to get to
that point from the sources already.
If you wanted to actually s
Paul Eggert wrote:
> I installed the attached patch into Gnulib and propagated this into m4
> on Savannah so it should appear in the next m4 release.
The patch is fine. In the case of the GNU m4 binary, however, it has no
effect, since the module 'fclose' is used for m4 already since 2011-02-05.
On 1/26/22 01:45, Julien Marrec wrote:
Hello Paul,
I’m not sure why you say it’s a local variable. It’s a “FILE *” isn’t it?
A FILE * is a pointer, and can be either local or global. This one's local.
[1] If you want to reproduce, and have conan installed and MSVC 2019, this
command should
Hello Paul,
I’m not sure why you say it’s a local variable. It’s a “FILE *” isn’t it?
So, with runtime /MDd (/MD doesn’t have the issue), I do have flclose.m4
and fclose.c. I also see
checking whether fcloseall is declared... yes
I’ve setup a gist at
https://gist.github.com/jmarrec/a2492f60623b
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 fi
hello,
Thanks for the answers, I'm trying to keep up / follow.
> Are the programs in question using the fclose module, either directly or
indirectly?
Well, simply doing `m4.exe --version` does exhibit the issue. Not sure if
I'm answering the question correctly or not.
I'm looking at the close-
On 1/25/22 08:13, Eric Blake wrote:
it something that gnulib should work around by
overriding fclose() to be guaranteed that it has an open fd?
This is a bug that Gnulib's fclose module is already supposed to be
working around. Are the programs in question using the fclose module,
either dire
[adding bug-gnulib]
On Mon, Jan 24, 2022 at 05:00:01PM +0100, Julien Marrec wrote:
> Hello,
>
> I realize this is probably not a combination of platform, compiler and
> build type that you anticipated. m4 is used in a conan - the C++ package
> manager - recipe, and it serves as the basis for many