Date: Tue, 22 Feb 2000 15:13:56 -0800 (PST) From: sfarrell@sfarrellhome.almaden.ibm.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/16916: patch for ldap support in xemacs21 (fixed in xemacs22) Message-ID: <20000222231356.BA9FBBA2D@sfarrellhome.almaden.ibm.com>
next in thread | raw e-mail | index | archive | help
>Number: 16916 >Category: ports >Synopsis: interrupted system call when doing ldap lookups >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 22 15:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: stephen farrell >Release: FreeBSD 3.4-STABLE i386 >Organization: n/a >Environment: xemacs-21.1 openldap-1.2.8 eudc (emacs directory client) >Description: an interrupted system call is signaled when doing an ldap lookup some percentage of the time. >How-To-Repeat: install xemacs & openldap. do an ldap lookup. >Fix: This patch is sanctioned by the author (oscar) as the "correct fix". For some reason this fix is in xemacs-22 (so he claims), but I never see it in xemacs-21.x. --- src/eldap.c.orig Tue Feb 22 14:56:47 2000 +++ src/eldap.c Tue Feb 22 14:55:07 2000 @@ -288,7 +288,9 @@ } /* Connect to the server and bind */ + slow_down_interrupts(); ld = ldap_open ((char *)XSTRING_DATA (host), ldap_port); + speed_up_interrupts(); if (ld == NULL ) signal_simple_error_2 ("Failed connecting to host", host, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000222231356.BA9FBBA2D>