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

Re: svn commit: r1126553 - in /subversion/trunk/subversion: libsvn_wc/upgrade.c tests/cmdline/upgrade_tests.py tests/cmdline/upgrade_tests_data/format_28.tar.bz2

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Mon, 23 May 2011 17:48:55 +0100

Greg Stein wrote:
> On May 23, 2011 11:57 AM, <julianfoad_at_apache.org> wrote:
> >...
> was 40 hex digits. */
> > - if (finfo->filetype == APR_REG && strlen(path) == 40)
> > + if (finfo->filetype == APR_REG
> > + && (strlen(svn_dirent_basename(abspath, pool))
> > + ==
>
> On my phone, so I can't tell, but ... can basename() take NULL for the pool?

Yes it can. You thinking we should pass NULL and so squeeze a few more
microseconds out of the developer-only upgrade scenario?

- Julian
Received on 2011-05-23 18:49:30 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.