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

Re: [PATCH] svn_fs_revision_prop and friends

From: Ben Collins-Sussman <sussman_at_newton.ch.collab.net>
Date: 2001-03-01 09:23:38 CET

Yoshiki Hayashi <yoshiki@xemacs.org> writes:
  
> +/* Return true iff SKEL is an atom whose data is the same as STR. */
> +int svn_fs__atom_matches_string (skel_t *skel, svn_string_t *str);

Is this really necessary? Can't you just call

   svn_fs__matches_atom (skel, string->data)

Remember than svn_string_t's are guaranteed to be null-terminated, so
you can use them as char *'s effortlessly.
Received on Sat Oct 21 14:36:23 2006

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.