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]

Re: 1.7.0 CVS mmap failure


On Thu, 18 Jan 2007, Corinna Vinschen wrote:

> I have applied a patch to CVS which calls fstat early, at the spot where
> GetFileSize got called so far.  The stat structure is then propagated to
> subsequent function calls and used there.  This should reduce the fstat
> calls to exactly one per file based mmap call.  All my testcases still
> work fine, but we already saw that my testcases don't cover all weird
> cases in the world.  So, please give this change a serious test.

Looks good here.  Thanks!

-- 
Brian Ford
Lead Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained crew...



--
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]