CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2010/09/24 07:32:55

Modified files:
        include        : glob.h 
        lib/libc/gen   : glob.3 glob.c 
        regress/lib/libc/glob: Makefile globtest.c globtest.in 

Log message:
add a GLOB_KEEPSTAT option that retains a copy of the struct stat
information that is looked up while matching glob(3)s

Keeping this information around can make a big difference when
fetching it is expensive, e.g. in sftp which uses GLOB_ALTDIRFUNC

feedback millert@ jmc@

"get it in before the libc crank" deraadt@

Reply via email to