Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 6914 invoked by uid 6000); 12 Oct 1998 16:22:07 -0000 Received: (qmail 6685 invoked from network); 12 Oct 1998 16:22:02 -0000 Received: from smtp4.ny.us.ibm.com (198.133.22.43) by taz.hyperreal.org with SMTP; 12 Oct 1998 16:22:02 -0000 Received: from relay2.server.ibm.com (relay2.server.ibm.com [9.14.2.99]) by smtp4.ny.us.ibm.COM (8.8.7/8.8.7) with ESMTP id MAA57948 for ; Mon, 12 Oct 1998 12:09:19 -0400 Received: from US.IBM.COM (d03lms03.boulder.ibm.com [9.99.80.13]) by relay2.server.ibm.com (8.8.7/8.8.7) with SMTP id MAA14162 for ; Mon, 12 Oct 1998 12:17:56 -0400 Received: by US.IBM.COM (Soft-Switch LMS 2.0) with snapi via D03AU017 id 5030300026184797; Mon, 12 Oct 1998 12:30:53 -0400 From: Joe Moenich To: Subject: [PATCH] TPF http_protocol.c Message-ID: <5030300026184797000002L072*@MHS> Date: Mon, 12 Oct 1998 12:30:53 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org TPF implementation of select. Index: http_protocol.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /apache/apache/src/main/http_protocol.c,v retrieving revision 1.1.1.1 diff -a -b -C3 -r1.1.1.1 http_protocol.c *** http_protocol.c 1998/10/12 09:15:41 1.1.1.1 --- http_protocol.c 1998/10/12 09:18:10 *************** *** 1894,1900 **** --- 1894,1905 ---- * we don't care what select says, we might as well loop = back * around and try another read */ + #ifdef TPF + ap_select(&fb->fd_in, 1, 0, 0, 0); + #else ap_select(fd + 1, &fds, NULL, NULL, NULL); + #endif /* TPF */ + #ifdef NDELAY_PIPE_RETURNS_ZERO afterselect =3D 1; #endif Joe Moenich moenich@us.ibm.com 303 773-5483 tie-line 656-7487 =