~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patch from Alejandro Sedeno, somewhat modified by me, which
[sgt/putty]
/
unix
/
uxagentc.c
diff --git
a/unix/uxagentc.c
b/unix/uxagentc.c
index
7b737d1
..
3605c60
100644
(file)
--- a/
unix/uxagentc.c
+++ b/
unix/uxagentc.c
@@
-122,7
+122,7
@@
int agent_query(void *in, int inlen, void **out, int *outlen,
exit(1);
}
-
fcntl(sock, F_SETFD, FD_CLOEXEC
);
+
cloexec(sock
);
addr.sun_family = AF_UNIX;
strncpy(addr.sun_path, name, sizeof(addr.sun_path));