version 1.170, 2002/04/22 21:04:52 |
version 1.171, 2002/05/16 22:09:59 |
|
|
* XXX: "localhost" match to determine FamilyLocal |
* XXX: "localhost" match to determine FamilyLocal |
* is not perfect. |
* is not perfect. |
*/ |
*/ |
snprintf(line, sizeof line, "%.100s list unix:%s 2>" |
snprintf(line, sizeof line, "%s list unix:%s 2>" |
_PATH_DEVNULL, options.xauth_location, display+10); |
_PATH_DEVNULL, options.xauth_location, display+10); |
else |
else |
snprintf(line, sizeof line, "%.100s list %.200s 2>" |
snprintf(line, sizeof line, "%s list %.200s 2>" |
_PATH_DEVNULL, options.xauth_location, display); |
_PATH_DEVNULL, options.xauth_location, display); |
debug2("x11_get_proto %s", line); |
debug2("x11_get_proto %s", line); |
f = popen(line, "r"); |
f = popen(line, "r"); |