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

Re: [PATCH] svnadmin hotcopy, hot-backup.py race conditions fix

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-09-10 04:58:24 CEST

Vladimir Berezniker wrote:

>Is there any difference between sub_path = "" and sub_path = &""? Since
>sub_path is a pointer are the two statements not equivalent?
>
>
Pointers don't all have the same type. "" is a char[] and gets converted
to char*, &"" is a char**. These are antirely different types. &"" is
also nonsense semantically, because "" is a literal and you can't take
the address of a literal in C -- I have no idea why this compiled at all.

-- 
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 Wed Sep 10 09:03:22 2003

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.