[Geany] Geany and malloc on AIX 5.3

Enrico Tröger enrico.troeger at xxxxx
Mon Jun 4 17:12:20 UTC 2007


On Mon, 04 Jun 2007 20:09:56 +0300, Harri Koskinen
<geany_fi at fastmonkey.org> wrote:

> Enrico Tröger wrote:
> > On Mon, 4 Jun 2007 10:39:14 -0600, Michal Kurgan
> > <michal.kurgan at moloh.net> wrote:
> > 
> > Hi,
> > 
> >> I have little comment here, but first i will say that i didn't
> >> looked at sources when writing this.
> >>
> >> Geany uses glib and gtk+ that have some extended memory allocation
> >> routines. I think that instead of such malloc override it would be
> >> better to use these provided routines:
> > Of course. A grep for malloc in src/ shows that we only use
> > g_malloc. Only in tagmanager there are a few malloc calls. I'm
> > going to remove them.
> > 
> > Harri: the linker error you got came from tagmanager code or from
> > Geany code? (if unsure just post the error message)
> 
> Hi,
> 
> The error came from the tagmanager code.
> And the fix you submitted to SVN (r1596) worked great.
Ok, so it is double fixed ;-) because all malloc calls used in
tagmanager were replaced by g_malloc.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070604/0af4c2b8/attachment.pgp>


More information about the Users mailing list