Return the correct value for sysconf(_SC_PAGESIZE)

Erik Bray
Tue Nov 15 13:51:00 GMT 2016


Currently sysconf(_SC_PAGESIZE) returns the value of
wincap.allocation_granularity()--a change I *think* had to have been
made by mistake in;a=commit;f=winsup/cygwin/;h=177dc6c7f6d0608ef6540fd997d9b444e324cae2

There's no obvious reason, anyways, that this value should be returned
and not the actual page size.



(P.S. Took me about a half-dozen tries to get a message through to
this ML due to a very picky mailer-daemon--I think it doesn't like
gmail aliases--hopefully this does the
trick :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Return-wincap.page_size-for-sysconf-_SC_PAGESIZE-not.patch
Type: application/octet-stream
Size: 683 bytes
Desc: not available
URL: <>

More information about the Cygwin-patches mailing list