[Xcb] [PATCH libxcb] Introduce new funcion xcb_connect_with_auth_file().

Uli Schlachter psychon at znc.in
Sat Oct 18 01:34:10 PDT 2014


Am 17.10.2014 um 20:23 schrieb Laércio de Sousa:
[...]
> @@ -334,7 +335,17 @@ int _xcb_get_auth_info(int fd, xcb_auth_info_t *info, int display)
>          gotsockname = 1;
>      }
>  
> -    authptr = get_authptr(sockname, display);
> +    if (authfile) {
> +        FILE *f = fopen(authfile, "r");
[...]

Thanks to Windows, this should be "rb" instead of "r" (I was reading through Xau
source code and noticed this).

Uli
-- 
A normal person is just someone you don't know well enough yet.
 - Nettie Wiebe


More information about the Xcb mailing list