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

Re: Keywords as hash (section 1)

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-03-22 01:04:03 CET

Max Bowsher wrote:
> OK, here are the results of my recent work on keywords as hash.

And I've realized there's another bug.

The svn_subst_build_keywords2 doc says that the hashes are "const char *"
keys and values. On the basis of which, I changed svn_string_compare to
strcmp. But, it's actually the documentation which is wrong, since the hash
*values* are actually svn_string_t*.

> Passes testsuite.

Eek.

It scares me that I was able to run strcmp() on svn_string_t*'s and still
have the testsuite pass!

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 22 01:05:30 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.