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

Re: svn commit: r8490 - trunk/subversion/mod_dav_svn

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-01-26 03:20:13 CET

Philip Martin wrote:

>Branko ÄŒibej <brane@xbc.nu> writes:
>
>
>
>>And I suggest not passing a const svn_error_t* to a function that
>>modifies (destroys, that is) the object it points to.
>>
>>
>
>It's not clear that passing a const pointer to such a function is an
>error; C++ allows const pointers to be passed to delete,
>
Yes, I've always found that strange.

>while C requires non-const pointers to be passed to free.
>
>
I think we should do the same.

-- 
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 Mon Jan 26 03:20:53 2004

This is an archived mail posted to the Subversion Dev mailing list.