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

Re: svn commit: r1535399 - in /subversion/trunk/subversion: libsvn_fs_fs/ libsvn_fs_x/ libsvn_subr/ libsvn_wc/ mod_authz_svn/ tests/cmdline/ tests/libsvn_client/ tests/libsvn_fs_fs/ tests/libsvn_fs_x/ tests/libsvn_subr/ tests/libsvn_wc/

From: Alan Barrett <apb_at_cequrux.com>
Date: Fri, 25 Oct 2013 11:43:47 +0200

On Fri, 25 Oct 2013, Julian Foad wrote:
>> On Fri, 25 Oct 2013, Branko Čibej wrote:
>
>>>> URL: http://svn.apache.org/r1535399
>>>> Log:
>>>> Cast NULL to (char *) in vararg calls to svn_dirent_join_many
>>>> and svn_path_join_many.
>>>
>>> Why? On which platform do you expect a char* to have a different size
>>> and/or representation than a void*?
>
>Alan Barrett wrote:
>> [theory]
>
>Alan, Brane specifically asked about practice not theory.

I was trying to point out that the "On which platform ..."
question appeared to be based on the incorrect assumption that
NULL macro would always expand to a void*. Asking about the
relationship between char* and void* is the wrong question.

--apb (Alan Barrett)
Received on 2013-10-25 11:44:28 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.