[pg-cvs] Patch for Linux mremap

Stelian Ionescu sionescu at cddr.org
Wed Aug 5 14:10:20 UTC 2009


On Wed, 2009-08-05 at 17:50 +0900, John Fremlin wrote:
> Hi Stelian and Luis,
> 
> The Linux mremap call is missing from Osicat. It's quite handy and
> offers a nicer way of extending a mapping (possibly after ftruncate)
> than munmap/mmap.
> 
> Please review and apply. Note that the unfortunate _GNU_SOURCE addition
> is necessary!
> 
> (Using it for a replacement for anardb with mmap'd databases.)

Done, thanks :)

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/osicat-devel/attachments/20090805/46599e30/attachment.sig>


More information about the osicat-devel mailing list