Re: [PATCH] Clarify doc string of svn_path_is_child()
From: <kfogel_at_collab.net>
Date: 2005-09-17 00:41:18 CEST
Julian Foad <julianfoad@btopenworld.com> writes:
Not only "OK", but +1! :-)
-Karl
-- www.collab.net <> CollabNet | Distributed Development On Demand > - Julian > Clarify a doc string. > > * subversion/include/svn_path.h > (svn_path_is_child): Make the doc string more explicit. > > Index: subversion/include/svn_path.h > =================================================================== > --- subversion/include/svn_path.h (revision 16034) > +++ subversion/include/svn_path.h (working copy) > @@ -351,6 +351,9 @@ svn_boolean_t svn_path_is_backpath_prese > * Both paths must be in canonical form, and must either be absolute, > * or contain no ".." components. > * > + * If @a path2 is the same as @a path1, it is not a child, so the > + * result is @c NULL; an empty string is never returned. > + * > * ### todo: the ".." restriction is unfortunate, and would ideally > * be lifted by making the implementation smarter. But this is not > * trivial: if the path is "../foo", how do you know whether or not > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org > For additional commands, e-mail: dev-help@subversion.tigris.org -- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Sep 17 01:46:43 2005 |
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.