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

LaƩrcio de Sousa laerciosousa at sme-mogidascruzes.sp.gov.br
Mon Oct 20 04:24:06 PDT 2014


2014-10-18 5:34 GMT-03:00 Uli Schlachter <psychon at znc.in>:

> 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).
>

FIxed. Thanks!

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



-- 
*Laércio de Sousa*
*Orientador de Informática*
*Escola Municipal "Professor Eulálio Gruppi"*
*Rua Ismael da Silva Mello, 559, Mogi Moderno*
*Mogi das Cruzes - SPCEP 08717-390*
Telefone: (11) 4726-8313
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20141020/b8854074/attachment.html>


More information about the Xcb mailing list