Re: Return the correct value for sysconf(_SC_PAGESIZE)

2016-11-16 Thread Erik Bray
On Wed, Nov 16, 2016 at 3:01 PM, Eric Blake wrote: > On 11/16/2016 07:56 AM, Erik Bray wrote: > >>> There is no good reason to use the non-POSIXy page size. It doesn't >>> help you in the least for any pagesize-related functionality. Mmap >>> as well as malloc and friends only work with _SC_PAGE

Re: Return the correct value for sysconf(_SC_PAGESIZE)

2016-11-16 Thread Eric Blake
On 11/16/2016 07:56 AM, Erik Bray wrote: >> There is no good reason to use the non-POSIXy page size. It doesn't >> help you in the least for any pagesize-related functionality. Mmap >> as well as malloc and friends only work with _SC_PAGESIZE sized pages. >> >> It sounds as if you're looking for

Re: Return the correct value for sysconf(_SC_PAGESIZE)

2016-11-16 Thread Erik Bray
On Tue, Nov 15, 2016 at 5:19 PM, Corinna Vinschen wrote: > On Nov 15 16:47, Erik Bray wrote: >> On Tue, Nov 15, 2016 at 3:58 PM, Corinna Vinschen >> wrote: >> > On Nov 15 14:51, Erik Bray wrote: >> >> Greetings, >> >> >> >> Currently sysconf(_SC_PAGESIZE) returns the value of >> >> wincap.allocat

Re: [PATCH 3/6] forkables: Create forkable hardlinks, yet unused.

2016-11-16 Thread Michael Haubenwallner
(sorry about previous empty mail) Hi Corinna, This is a fixup for the race condition where multiple processes failed to concurrently create identical hardlinks. So I'm quite successful with the forkable hardlinks now... /haubi/ On 03/30/2016 08:53 PM, Michael Haubenwallner wrote: > In prepara

Re: [PATCH 3/6] forkables: Create forkable hardlinks, yet unused.

2016-11-16 Thread Michael Haubenwallner
On 03/30/2016 08:53 PM, Michael Haubenwallner wrote: > In preparation to protect fork() against dll- and exe-updates, create > hardlinks to the main executable and each loaded dll in subdirectories > of /var/run/cygfork/, if that one exists on the NTFS file system. > > The directory names consist