Return the correct value for sysconf(_SC_PAGESIZE)

Erik Bray erik.m.bray@gmail.com
Tue Nov 15 13:51:00 GMT 2016


Greetings,

Currently sysconf(_SC_PAGESIZE) returns the value of
wincap.allocation_granularity()--a change I *think* had to have been
made by mistake in
https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;f=winsup/cygwin/sysconf.cc;h=177dc6c7f6d0608ef6540fd997d9b444e324cae2

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

Thanks,

Erik

(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: <http://cygwin.com/pipermail/cygwin-patches/attachments/20161115/bda23997/attachment.obj>


More information about the Cygwin-patches mailing list