version 1.150, 2002/09/16 19:55:33 |
version 1.151, 2002/12/04 04:36:47 |
|
|
/* Add authority data to .Xauthority if appropriate. */ |
/* Add authority data to .Xauthority if appropriate. */ |
if (debug_flag) { |
if (debug_flag) { |
fprintf(stderr, |
fprintf(stderr, |
"Running %.500s add " |
"Running %.500s remove %.100s\n", |
"%.100s %.100s %.100s\n", |
options.xauth_location, s->auth_display); |
|
fprintf(stderr, |
|
"%.500s add %.100s %.100s %.100s\n", |
options.xauth_location, s->auth_display, |
options.xauth_location, s->auth_display, |
s->auth_proto, s->auth_data); |
s->auth_proto, s->auth_data); |
} |
} |
|
|
options.xauth_location); |
options.xauth_location); |
f = popen(cmd, "w"); |
f = popen(cmd, "w"); |
if (f) { |
if (f) { |
|
fprintf(f, "remove %s\n", |
|
s->auth_display); |
fprintf(f, "add %s %s %s\n", |
fprintf(f, "add %s %s %s\n", |
s->auth_display, s->auth_proto, |
s->auth_display, s->auth_proto, |
s->auth_data); |
s->auth_data); |