BTW, OK by me :) Now that I'm retired, it is starting to look like
less time for this stuff... ;)
On Thu, Jun 9, 2016 at 10:25 AM, David Edelsohn wrote:
> Index: inclhack.def
> ===
> --- inclhack.def(revision 237258)
> +++
Bruce,
The current AIX stdlib.h header file uses #define. This is exactly
what I am trying to remove with the fixincludes patch.
#define malloc __linux_malloc
needs to be replaced with
extern void *malloc(size_t) __asm__("__linux_malloc");
and so forth.
Thanks, David
On Thu, Jun 9, 2016 at
Hi, Bruce!
I thought about a regex, but the aliases require a full function
signature and the original, narrow context does not provide a function
signature. If it was just alias XXXalloc as __linux_XXXalloc, it
would be more straight forward. If there's a convenient way to add
the other informa
On 06/09/2016 11:25 AM, David Edelsohn wrote:
AIX has added variants of malloc, realloc, calloc and valloc with
greater compatibility with Linux semantics, especially for NULL
addresses. The variants are declared in stdlib.h and use #define to
override the normal definition if _LINUX_SOURCE_COMP
AIX has added variants of malloc, realloc, calloc and valloc with
greater compatibility with Linux semantics, especially for NULL
addresses. The variants are declared in stdlib.h and use #define to
override the normal definition if _LINUX_SOURCE_COMPAT is defined,
e.g.,
#define malloc __linux_mal