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

Re: ifndef SVN_LIBSVN_FS_FS_H

From: Neels Janosch Hofmeyr <neels_at_elego.de>
Date: Wed, 03 Jun 2009 11:41:28 +0200

Blair Zajac wrote:
> On Jun 2, 2009, at 7:31 PM, Neels Janosch Hofmeyr wrote:
>
>> Two headers are having the same #define name.
>> That's bad, right?
>>
>> [[[
>> ~/svn/trunk
>> $ svngrep LIBSVN_FS_FS_H
>> ./subversion/libsvn_fs_fs/fs.h:18:#ifndef SVN_LIBSVN_FS_FS_H
>> ./subversion/libsvn_fs_fs/fs.h:19:#define SVN_LIBSVN_FS_FS_H
>> ./subversion/libsvn_fs_fs/fs.h:381:#endif /* SVN_LIBSVN_FS_FS_H */
>> ./subversion/libsvn_fs/fs-loader.h:20:#ifndef LIBSVN_FS_FS_H
>> ./subversion/libsvn_fs/fs-loader.h:21:#define LIBSVN_FS_FS_H
>
> Hmmm, those aren't the same SVN_LIBSVN_FS_FS_H vs LIBSVN_FS_FS_H.

... %]
How true. Don't know where my head was.

You must admit though, the difference is ... subtle? ... unexpected?

Anyway.
Sorry.

~Neels

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2359032

Received on 2009-06-03 11:42:19 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.