delorie.com/archives/browse.cgi | search |
On Tue, Feb 13, 2001 at 02:54:01PM -0500, DJ Delorie wrote: >> But it does nothing at all for the "usual case" I'm trying to >> optimize, which is Make stat()ing a file but never reading it. > >It does, because stat() reads the file twice, once to see if it's a >symlink, and once to see if the executable bit needs to be set. If it is actually doing this, then that's a bug. I went to some effort a year or so ago to do away with the second read. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |