You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@gmail.com> on 2012/05/07 15:30:30 UTC

Re: svn commit: r1334953 - /subversion/trunk/subversion/svnserve/main.c

On May 7, 2012 7:10 AM, <st...@apache.org> wrote:
>...
> +++ subversion/trunk/subversion/svnserve/main.c Mon May  7 11:10:05 2012
> @@ -150,6 +150,11 @@ void winservice_notify_stop(void)
>  #define SVNSERVE_OPT_CACHE_REVPROPS  267
>  #define SVNSERVE_OPT_SINGLE_CONN     268
>
> +/* Helper macros to stringify ra_svn's default port number. */
> +#define SVNSERVE_PORT(p) SVNSERVE_PORT_STR(p)
> +#define SVNSERVE_PORT_STR(p) #p

I'd suggest APR_STRINGIFY rather than new macros.

>...

Cheers,
-g

Re: svn commit: r1334953 - /subversion/trunk/subversion/svnserve/main.c

Posted by Stefan Sperling <st...@elego.de>.
On Mon, May 07, 2012 at 09:30:30AM -0400, Greg Stein wrote:
> On May 7, 2012 7:10 AM, <st...@apache.org> wrote:
> >...
> > +++ subversion/trunk/subversion/svnserve/main.c Mon May  7 11:10:05 2012
> > @@ -150,6 +150,11 @@ void winservice_notify_stop(void)
> >  #define SVNSERVE_OPT_CACHE_REVPROPS  267
> >  #define SVNSERVE_OPT_SINGLE_CONN     268
> >
> > +/* Helper macros to stringify ra_svn's default port number. */
> > +#define SVNSERVE_PORT(p) SVNSERVE_PORT_STR(p)
> > +#define SVNSERVE_PORT_STR(p) #p
> 
> I'd suggest APR_STRINGIFY rather than new macros.

Oh! Neat. r1335021, thanks.