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

Re: svn commit: r1074461 - in /subversion/trunk: subversion/libsvn_subr/dirent_uri.c subversion/libsvn_wc/relocate.c tools/client-side/svnmucc/svnmucc.c

From: Florian Weimer <fweimer_at_bfk.de>
Date: Fri, 25 Feb 2011 12:07:38 +0000

* Greg Stein:

> What?! ... what is this? I've never seen "missing sentinel". This just
> seems to complicate the code for the sake of a compiler. And one that
> historically has not been a problem for us.

You cannot use NULL to terminate varargs lists which are expected to
consist of pointers because NULL may expand to 0 (without a cast to
void *), which gets promoted to long in the argument lsit. This may
or may not be appropriate as a pointer value, depending on the
platform.

-- 
Florian Weimer                <fweimer_at_bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99
Received on 2011-02-25 13:08:14 CET

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.