From: Howard Chu Date: Wed, 4 Apr 2007 23:56:13 +0000 (+0000) Subject: ITS#4893 disable descriptor passing for now X-Git-Tag: OPENLDAP_REL_ENG_2_3_35~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cf1173728a02f4a99a6b74796fa35170f13372fa;p=openldap ITS#4893 disable descriptor passing for now --- diff --git a/libraries/libldap/os-local.c b/libraries/libldap/os-local.c index 559a6f5475..247ea8006a 100644 --- a/libraries/libldap/os-local.c +++ b/libraries/libldap/os-local.c @@ -191,6 +191,7 @@ ldap_pvt_connect(LDAP *ld, ber_socket_t s, struct sockaddr_un *sa, int async) */ sendcred: { +#if 0 /* ITS#4893 disable all of this for now */ int fds[2]; if (pipe(fds) == 0) { /* Abandon, noop, has no reply */ @@ -234,6 +235,9 @@ sendcred: close(fds[0]); close(fds[1]); } +# else + write( s, abandonPDU, sizeof( abandonPDU )); +#endif /* ITS#4893 */ } #endif return 0;