[Xcb] Get rid of PATH_MAX and MAXPATHLEN

Arnaud Fontaine arnaud at andesi.org
Tue Apr 27 05:33:17 PDT 2010


Hi Peter,

    >   Unfortunately, I  don't  think  this is  quite  the final  patch
    > yet. When  you changed the while() to an if(),  you forgot to call
    > func() again after the realloc is successful.

Fixed. I just returns NULL  if actual_socknamelen > socknamelen but this
should not happen... Hope that's ok now

Cheers,
-- 
Arnaud Fontaine (arnau)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxcb_fix_PATH_MAX-diff-with-previous-patch.patch
Type: text/x-diff
Size: 1082 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20100427/668d1adb/attachment.patch>


More information about the Xcb mailing list