[pg-cvs] Patch for Linux mremap

Stelian Ionescu sionescu at cddr.org
Wed Aug 5 10:10:20 EDT 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: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://common-lisp.net/pipermail/osicat-devel/attachments/20090805/46599e30/attachment.pgp 


More information about the osicat-devel mailing list