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

Re: [PATCH] Fix to svn_time_to_human_cstring() - take 3

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-04-04 21:34:15 CEST

Nicolás Lichtmaier <nick@reloco.com.ar> writes:

> + else
> + {
> + const char *utf8_string;
> + svn_error_t *err;
>
> + err = svn_utf_cstring_to_utf8(&utf8_string, human_datestr, pool);
> + if(err)
> + {
> + *curptr = '\0';
> + svn_error_clear(err);

I'm not sure it's valid to ignore this error.

> + }
> + else
> + apr_cpystrn(curptr, utf8_string, SVN_TIME__MAX_LENGTH - len);
> + }
> +
> return datestr;
> }

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 4 21:34:40 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.