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

Re: [PATCH] automatic properties

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-02 19:05:59 CEST

Martin Furter <mf@rola.ch> writes:

> {
> const void *propname;
> void *propvalue;

            apr_ssize_t klen;

> svn_string_t propvaluestr;
>
> apr_hash_this (hi, &propname, NULL, &propvalue);

            apr_hash_this (hi, &propname, &klen, &propvalue);

> propvaluestr.data = propvalue;
> propvaluestr.len = strlen (propvaluestr.data);

            propvaluestr.len = klen;

> SVN_ERR (editor->change_file_prop (file_baton, propname,
> &propvaluestr, pool));
> }

Hmm, "klen" doesn't really fit with the other names you have chosen.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 2 19:06:59 2003

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.