[Geany-devel] [patch] Little code/warnings cleanup (was Re: [patch] "Constify" some arguments and fields)

Colomban Wendling lists.ban at xxxxx
Sun Apr 25 12:25:30 UTC 2010


>> * main.c:1212+: What's that malloc stuff for??? These functions aren't
>> even used...
> 
> http://geany.svn.sf.net/viewvc/geany?view=rev&revision=1596
> and see http://lists.uvena.de/pipermail/geany/2007-June/001093.html for
> the discussion about it.
> Maybe we can remove rpl_malloc() because we replaced the malloc() with
> g_malloc () at the same time.
Oh yes, this famous GNU malloc stuff... Anyway, this is not used anymore
since rev 1961 [1] that dropped AC_PROG_MALLOC [2] if I'm right. And
anyway, do you need the GNU-malloc style?
I think it can be safely removed.

> Cool, thanks a lot .
No problem :)

Regards,
Colomban

[1] http://geany.svn.sf.net/viewvc/geany?view=rev&revision=1961
[2]
http://www.gnu.org/software/autoconf/manual/html_node/Particular-Functions.html#index-AC_005fFUNC_005fMALLOC-443



More information about the Devel mailing list