<html><body>

<p>Oh man!</p>
<p>i've been searching for those damn crashes on my devbox for quiet a while now,</p>
<p>thanks a lot for finding!</p>
<p> </p>
<blockquote>
<div class="message_header"><span>Di Feb 16 2010 12:13:56 EST</span> <span>von  "Milan Crha" <mcrha@redhat.com> </span> <span class="message_subject">Betreff: [Freeassociation-devel] Revision 985 breaks Linux applications</span></div>
<div class="message_content"><tt>Hi all,</tt><br /> <tt>after a really painful investigation of bug [1] the reporter finally</tt><br /> <tt>realized that all this is caused by libical and commit [2], as he's</tt><br /> <tt>using your trunk.</tt><br /> <tt></tt><br /> <tt>The problem is that there is defined vsnprintf function on most Linuxes</tt><br /> <tt>(if not all), within glibc library [3], and it's a correct</tt><br /> <tt>implementation. From the commit comments I understand you've it defined</tt><br /> <tt>only for windows, and the file content should not be used anywhere else.</tt><br /> <tt>If I'm correct, then the first line shouldn't be</tt><br />
<blockquote><tt>#ifndef WIN32</tt><br /></blockquote>
<tt>but</tt><br />
<blockquote><tt>#ifdef WIN32</tt><br /></blockquote>
<tt>instead. See how much one 'n' can do. The problem was that applications</tt><br /> <tt>using libical are then not using the system vsnprintf, neither</tt><br /> <tt>dynamically linked libraries in the application, but they are using that</tt><br /> <tt>yours, which makes things behave unexpectedly.</tt><br /> <tt></tt><br /> <tt>I would like to ask you for two things:</tt><br /> <tt>a) Please fix this as soon as possible.</tt><br /> <tt>b) Please rename the .c file to something else, so it'll be obvious that</tt><br /> <tt>it's not the system library, but that yours (debugger is showing only</tt><br /> <tt>the .c file without path, by default.)</tt><br /> <tt></tt><br /> <tt>Thank you in advance and for your understandings.</tt><br /> <tt>Bye,</tt><br /> <tt>Milan</tt><br /> <tt></tt><br /> <tt>[1] https://bugzilla.gnome.org/show_bug.cgi?id=605811</tt><br /> <tt>[2]</tt><br /> <tt><a href="http://freeassociation.svn.sourceforgenet/viewvc/freeassociation/trunk/libical/src/libical/vsnprintf.c?r1=772&r2=985" target="webcit01">http://freeassociation.svn.sourceforge.net/viewvc/freeassociation/trunk/libical/src/libical/vsnprintf.c?r1=772&r2=985</a></tt><br /> <tt>[3] <a href="http://sources.redhat.com/glibc/" target="webcit01">http://sources.redhat.com/glibc/</a></tt><br /> <tt></tt><br /> <tt></tt><br /> <tt>------------------------------------------------------------------------------</tt><br /> <tt>SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,</tt><br /> <tt>Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW</tt><br /> <tt><a href="http://p.sf.net/sfu/solaris-dev2dev" target="webcit01">http://p.sf.net/sfu/solaris-dev2dev</a></tt><br /> <tt>_______________________________________________</tt><br /> <tt>Freeassociation-devel mailing list</tt><br /> <tt>Freeassociation-devel@lists.sourceforge.net</tt><br /> <tt>https://lists.sourceforge.net/lists/listinfo/freeassociation-devel</tt><br /> <br /></div>
</blockquote>
<p> </p>
</body></html>