<br>Hi Barton,<br><br>&gt;I don&#39;t have much to contribute, I&#39;m afraid. :-)  Just big<br>
&gt;thank-yous to Jeetu and Julien; I&#39;m really pleased to see<br>
&gt;this move forward.<br>
<br>Appreciate the opportunity and glad I could help. I would like to thank Vincent, Peter and Julien for their help and of course all the rest of the devels who have put together quite a cool library :)<br><br>Hopefully will put together the changes recommended by everyone soon.<br>
<br>Bye for now<br><br><br><br><div class="gmail_quote">On Wed, May 20, 2009 at 10:33 AM, Barton C Massey <span dir="ltr">&lt;<a href="mailto:bart@cs.pdx.edu">bart@cs.pdx.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I don&#39;t have much to contribute, I&#39;m afraid. :-)  Just big<br>
thank-yous to Jeetu and Julien; I&#39;m really pleased to see<br>
this move forward.<br>
<br>
        Bart<br>
<br>
In message &lt;<a href="mailto:20090518084622.GA30591@abydos.adm.naquadah.org">20090518084622.GA30591@abydos.adm.naquadah.org</a>&gt; you wrote:<br>
&gt;<br>
&gt; --===============0102780725==<br>
&gt; Content-Type: multipart/signed; micalg=pgp-sha1;<br>
&gt;       protocol=&quot;application/pgp-signature&quot;; boundary=&quot;3MwIy2ne0vdjdPXF&quot;<br>
&gt; Content-Disposition: inline<br>
&gt;<br>
&gt;<br>
&gt; --3MwIy2ne0vdjdPXF<br>
&gt; Content-Type: text/plain; charset=utf-8<br>
&gt; Content-Disposition: inline<br>
&gt; Content-Transfer-Encoding: quoted-printable<br>
<div class="im">&gt;<br>
&gt; HI,<br>
&gt;<br>
&gt; At 1242038193 time_t, Jeetu Golani wrote:<br>
&gt; &gt; I&#39;ve updated my branch at github to reflect changes in code as suggested =<br>
&gt; by<br>
&gt; &gt; Julien and also rectify the goof ups I made with my initial submission.<br>
</div>&gt; &gt;=20<br>
<div class="im">&gt; &gt; Julien, I would appreciate if you could verify if all is well now.<br>
&gt;<br>
&gt; Yeah, that&#39;s much better. :-)<br>
&gt;<br>
&gt; I&#39;ll quote some of your work here and just review it. I&#39;m not qualified<br>
&gt; in Windows coding so I won&#39;t judge if the work is good, bad or even<br>
&gt; functionnal.<br>
&gt;<br>
&gt; --- /dev/null<br>
&gt; +++ b/src/windefs.h<br>
&gt; [...]<br>
</div>&gt; +#define WINVER 0x0501 /* required for getaddrinfo/freeaddrinfo defined onl=<br>
<div><div></div><div class="h5">&gt; y for WinXP and above */<br>
&gt;<br>
&gt; Hum, are you sure you always want to define it?<br>
&gt; If not, maybe adding #ifndef WINVER / #endif surrounding this #define<br>
&gt; might be a good idea.<br>
&gt;<br>
&gt;<br>
&gt; --- a/src/xcb_in.c<br>
&gt; +++ b/src/xcb_in.c<br>
&gt; +static int read_block(const int fd, void *buf, const size_t len)<br>
&gt; and<br>
&gt; +int _xcb_in_read(xcb_connection_t *c)<br>
&gt;<br>
&gt; You are redefining the whole function. IMHO, this is not so good,<br>
&gt; because you are duplicating a lot of code. And is some day we need to<br>
&gt; fix code in one of that function, we may forget to fix it in the WIN32<br>
&gt; version.<br>
&gt;<br>
&gt;<br>
&gt; --- a/src/xcb.h<br>
&gt; +++ b/src/xcb.h<br>
&gt; +int initWSA(void);<br>
&gt;<br>
&gt; This is not right. If I&#39;m understanding correctly, this is required to<br>
&gt; initialize some stuff. The function name is not respecting the naming<br>
&gt; scheme of xcb functions and the name is too generic.<br>
&gt;<br>
&gt; I suggest that:<br>
&gt; 1. You drop the function and documente that loading winsock via<br>
&gt;   WSAStartup() is mandatory before using XCB;<br>
&gt; 2. or you add a static flag in xcb_open() that check that winsock has been<br>
&gt;   initialized before running;<br>
&gt; 3. or you initialize winsock in xcb_open() unconditionnally. I don&#39;t know<br>
&gt;   if you can initialize winsock multiple times. If not, the solution<br>
&gt;   above can be better. But again, maybe another lib can initiliaze<br>
&gt;   winsock in its corner, so maybe if it can be initialized only once,<br>
&gt;   solution 1 will be better.<br>
&gt;<br>
&gt; The rest seems fine to me.<br>
&gt;<br>
&gt; Cheers,<br>
</div></div>&gt; --=20<br>
&gt; Julien Danjou<br>
&gt; // =E1=90=B0 &lt;<a href="mailto:julien@danjou.info">julien@danjou.info</a>&gt;   <a href="http://julien.danjou.info" target="_blank">http://julien.danjou.info</a><br>
<div class="im">&gt; // 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD<br>
&gt; // When I get sad, I stop being sad and be awesome instead. True story.<br>
&gt;<br>
</div>&gt; --3MwIy2ne0vdjdPXF<br>
&gt; Content-Type: application/pgp-signature; name=&quot;signature.asc&quot;<br>
&gt; Content-Description: Digital signature<br>
&gt; Content-Disposition: inline<br>
<div class="im">&gt;<br>
&gt; -----BEGIN PGP SIGNATURE-----<br>
&gt; Version: GnuPG v1.4.9 (GNU/Linux)<br>
&gt;<br>
</div>&gt; iEYEARECAAYFAkoRIF4ACgkQpGK1HsL+5c0fxACfZiIGTDyDnbPYUt7I02Szg5xv<br>
<div class="im">&gt; tJsAoNFkKUc1OjxugdpAG9U/sUifmgs6<br>
&gt; =HMAC<br>
&gt; -----END PGP SIGNATURE-----<br>
&gt;<br>
</div>&gt; --3MwIy2ne0vdjdPXF--<br>
&gt;<br>
&gt; --===============0102780725==<br>
&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt; MIME-Version: 1.0<br>
&gt; Content-Transfer-Encoding: 7bit<br>
&gt; Content-Disposition: inline<br>
<div class="im">&gt;<br>
&gt; _______________________________________________<br>
&gt; Xcb mailing list<br>
&gt; <a href="mailto:Xcb@lists.freedesktop.org">Xcb@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xcb" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xcb</a><br>
</div>&gt; --===============0102780725==--<br>
</blockquote></div><br>