dot, dot-dot and apr_dir_read
From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-02-16 23:19:07 CET
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=231364 is a Debian
The bug report prompted me to look at the hotcopy code and I see that
Now svn_io_dir_walk uses apr_dir_read which documents it's behaviour
"All systems return . and .. as the first two files."
so that looks OK, we can use this guarantee to document the behaviour
Being curious I looked at the Unix implementation of apr_dir_read to
Questions for APR:
- Is the documented "dot-first" behaviour of apr_dir_read intended?
Questions for Subversion:
- Is svn_io_dir_walk supposed to be "dot-first"?
-- Philip Martin --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Mon Feb 16 23:19:23 2004 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.