Hello,

    >      const char *slashDotXauthority = "/.Xauthority";
    >      char    *name;
    > -    static char        *buf;
    > -    static int bsize;
    > +    static char        buf[PATH_MAX] = {0};

Please  don't use  PATH_MAX. According  to  POSIX, PATH_MAX  may not  be
defined if an implement does not  have any limitation on the path length
(and GNU Hurd does not actually define it). Many thanks.

Cheers,
Arnaud
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to