[PATCH] add __ASSUME_MREMAP

Pino Toscano toscano.pino@tiscali.it
Tue Jan 15 00:08:00 GMT 2013


Alle sabato 10 novembre 2012, Pino Toscano ha scritto:
> just like it is done also for other functions, add a __ASSUME_MREMAP
> in kernel-features.h (only in the Linux version) to indicate the
> availability of mremap; this is used to uniform the two existing
> checks: - malloc.c enables it if linux is defined
> - libio uses _G_HAVE_MREMAP (from _G_config.h)
> The comment for __ASSUME_MREMAP in kernel-features.h has been taken
> from malloc.c, just above the HAVE_MREMAP definition.
> 
> After this patch, sysdeps/unix/sysv/linux/_G_config.h becomes the
> same as sysdeps/generic/_G_config.h; after review and commit of
> this, I will send a new patch to get rid of the linux _G_config.h.

Ping.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20130115/8b3a6fca/attachment.sig>


More information about the Libc-alpha mailing list