RPM Community Forums

Mailing List Message of <popt-devel>

Question about the xmalloc() et al functions

From: Wayne Davison <wayned@samba.org>
Date: Mon 10 Mar 2008 - 00:13:14 CET
Message-ID: <20080309231314.GD9986@herod.dreamhost.com>
I'm curious why the xmalloc() function (and its brethren) exits with a
fatal error on only some systems and not on all systems?  I would think
that the code should use the exiting functions in all cases, and just
provide differing versions of xstrdup() so that the HAVE_MCHECK_H
version does a malloc() (rather than strdup() doing it).

If I'm not off track, you can apply the attached patch to implement


Received on Mon Mar 10 00:13:16 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.