diff options
author | Josh Triplett <josh@freedesktop.org> | 2006-11-20 23:25:41 -0800 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2006-11-20 23:28:03 -0800 |
commit | d6abe93b06c421b78e92d76ceb5ca181e3adff31 (patch) | |
tree | 60d6e94cc49d4f376be3632eb8e5a4668113f5cc /acinclude.m4 | |
parent | 4a928de402a6e69886921fe428bbffb909c6405e (diff) |
Refactor auth code to get display number from xcb_connect
Change xcb_connect to pass the display number to _xcb_get_auth_info, which
passes it to get_authptr. This allows get_authptr to stop hacking the display
number out of the sockaddrs of various address families, such as
port - X_TCP_PORT, or the number after the last X in the UNIX socket path. This
also removes a portability bug introduced during the IPv6 changes: relying on
'\0'-termination of the UNIX socket path in a sockaddr_un.
Commit by Jamey Sharp and Josh Triplett.
Diffstat (limited to 'acinclude.m4')
0 files changed, 0 insertions, 0 deletions