This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, 13 Jul 2006, Brian Ford wrote: > On Thu, 13 Jul 2006, Corinna Vinschen wrote: > > I added an (hopefully) appropriate patch, which commits a page within a > > MAP_NORESERVE area when memory in this page is accessed by the > > application. If commiting the memory fails, SIGBUS is generated. Please > > test CVS HEAD or the next developer snapshot from > > http://cygwin.com/snapshots/ > > Wow! Thanks. Given my limited Windows API knowledge, that sounded > difficult to accomplish properly. I'll test it for you shortly. One problem found. If the memory is not touched before using it as a buffer to a read call, the read returns -1 with errno set to ISDIR. STC attached. Thanks again for looking at this. -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained crew... .
Attachment:
mmaptest.c
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |