GNU bug report logs - #36649
27.0.50; pure space and pdumper

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Sun, 14 Jul 2019 14:27:01 UTC

Severity: wishlist

Tags: patch

Found in version 27.0.50

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: rpluim <at> gmail.com, stefan <at> marxist.se, schwab <at> linux-m68k.org, monnier <at> iro.umontreal.ca, 36649 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: bug#36649: 27.0.50; pure space and pdumper
Date: Thu, 20 May 2021 11:46:40 +0300
> Cc: larsi <at> gnus.org, rpluim <at> gmail.com, stefan <at> marxist.se,
>  schwab <at> linux-m68k.org, monnier <at> iro.umontreal.ca, 36649 <at> debbugs.gnu.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Wed, 19 May 2021 10:43:24 -0700
> 
> On 5/19/21 10:38 AM, Eli Zaretskii wrote:
> > The problem is not in gmalloc.c, the problem is in every src/*.c file
> > that calls 'free'.  That's because we redirect to hybrid_free in
> > conf_post.h, but Gnulib's stdlib.h is included after that,
> 
> Have conf_post.h include stdlib.h before it redefines 'free'. It should 
> do that anyway, since POSIX stdlib.h is allowed to define 'free' as a macro.

Thanks, this does work and looks much cleaner, so I've now made that
change.




This bug report was last modified 199 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.