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

Re: CVS update: MODIFIED: svntest ...

From: <kfogel_at_collab.net>
Date: 2001-08-11 03:12:06 CEST

Greg Stein <gstein@lyra.org> writes:
> > +const char *
> > +svn_fs_db_lockfile (svn_fs_t *fs)
> > +{
> > + return apr_psprintf (fs->pool, "%s/%s",
> > + fs->lock_path,
> > + SVN_FS__REPOS_DB_LOCKFILE);
>
> The above is more efficient as:
>
> return apr_pstrcat (fs->pool,
> fs->lock_path,
> "/" SVN_FS__REPOS_DB_LOCKFILE,
> NULL);
>
> There are similar examples throughout...

Thanks, will change.

> (no need to psprintf the thing...)

Sheesh. Codin' on autopilot.

Thanks for watching, Greg.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:35 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.