[Xcb] Get rid of PATH_MAX and MAXPATHLEN

Arnaud Fontaine arnaud at andesi.org
Tue Apr 27 02:53:48 PDT 2010


Hello,

I have  attached to  this email  the final patch.   It sets  the initial
sockname size (excluding the sizeof(struct sockaddr)) to a more sensible
value (namely 108) as it usually  ranges between 92 and 108 according to
POSIX.  It also  gets  rid of  the  while loop  which  was clearly  ugly
;). Hope that's ok.

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: 2243 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20100427/f07de651/attachment.patch>


More information about the Xcb mailing list