[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: dot, dot-dot and apr_dir_read

From: <rbb_at_rkbloom.net>
Date: 2004-02-17 02:13:11 CET

As the guy who wrote that documentation and implemented the initial cut of that
code, I can answer to a degree.

Quoting Philip Martin <philip@codematters.co.uk>:
< snip ...>
> Questions for APR:
> - Is the documented "dot-first" behaviour of apr_dir_read intended?

Yes, it is intended. This is often a problem with writing portable code, so I
was trying to make that task easier.

> - If it is, how does the current implementation of apr_dir_read
> guarantee it?

It probably doesn't. I never encountered a FS that didn't consistantly return .
and .. first, so I didn't code around the problem. It wouldn't be too hard to
resolve this in the APR code however.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 17 01:49:03 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.