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

Re: svn commit: r8341 - trunk/subversion/libsvn_subr

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-01-16 22:41:02 CET

Jani Averbach wrote:

>I think it is better to use construction:
>#ifdef WIN32
>#define WIN32_RETRY_LOOP(err, expr) \
> do { \
> ... \
> while(0)
That's fine, but, uh,

>#define WIN32_RETRY_LOOP(err, expr) do {} while(0)
Why would you want to define an empty loop? Just defining the macro to
an empty string will do the same job and be more concise.

An C statement can be empty. The following

    void foo(void)

is a valid C program.

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 16 22:43: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.