stat_worker patch and suggestion

Chris Faylor cgf@cygnus.com
Thu Aug 12 09:07:00 GMT 1999


On Thu, Aug 12, 1999 at 11:37:18AM +0400, Egor Duda wrote:
>  Attached patch make stat functions recognize UNC paths as remote. It
>speeds up fstat operations on remote drives, which are not mapped to
>drive letters.

Does this patch still operate correctly with the old "\\a" style method
for handling drives?

>BTW, what do you think of providing porters with some sort of "lite"
>versions of stat functions? Retrieving all stat information isn't
>always necessary, and opening file to get it's st_ino and scanning
>directory to get st_nlinks are quite time-consuming operations.

I don't know how this could be used.  Would you define stat as
"stat_lite" when you compile an application?

cgf


More information about the Cygwin-developers mailing list