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

Re: svn commit: r1157682 - /subversion/trunk/subversion/svn/status.c

From: Peter Samuelson <peter_at_p12n.org>
Date: Tue, 16 Aug 2011 11:06:06 -0500

> - moved_from_line = apr_psprintf(pool, "\n > %s %s",
> - _("moved from"), relpath);
> + moved_from_line = apr_psprintf(pool,
> + apr_psprintf(pool,
> + "\n > %s",
> + _("moved from %s")),
> + relpath);

I found sprintf inside sprintf to be quite confusing, so I changed it
to sprintf inside strcat, in r1158343. strcat seemed appropriate
anyway, even without the confusing nesting issue. Hope nobody minds.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Received on 2011-08-16 18:06:45 CEST

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.