|
From: Chris F. <cd...@fo...> - 2009-10-21 21:02:00
|
On Sat, Oct 10, 2009 at 12:40:08PM +0200, Daniel Gollub wrote: > On Friday 09 October 2009 09:35:59 pm Chris Frey wrote: > > Why is the member ID so large? Is there really a risk of > > 9223372036854775807 different members? > > > > The reason I ask is that 'long long' is not as portable as just long, and > > there is no reason for such a large number, as far as I can see. > > > > No idea, this was introduced long before i joined the OpenSync development. > We should have a look into the subversion logs if Armin mentioned any reason > to use long long ... > > How many public member/group interfaces are using long long? Sorry for the delay on this. This command shows about 22 functions: find . -type f -name "*.h" -print0 | \ xargs -0 grep "long *long" | \ grep EXPORT | \ wc -l There are also things like misc/schemas/capabilities.xsd that have longlong and ulonglong for things such as AdvancedType. - Chris |