cvs commit: projects/csup misc.c
Maxime Henrion
mux at FreeBSD.org
Fri Feb 10 09:03:26 PST 2006
mux 2006-02-10 17:03:25 UTC
FreeBSD projects repository
Modified files:
csup misc.c
Log:
Optimize mkdirhier() by minimizing the number of calls to access() we
do and avoiding to allocate a file attribute if no directory creation
is needed. The previous version was horrible in that we were doing a
lot of access() calls on average, which was bad since we call
mkdirhier() once per updated file.
Revision Changes Path
1.25 +37 -13 projects/csup/misc.c
More information about the cvs-all
mailing list