From dev-return-3857-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Wed Aug 08 00:23:41 2001 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 74335 invoked by uid 500); 8 Aug 2001 00:23:41 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 74324 invoked from network); 8 Aug 2001 00:23:41 -0000 X-Authentication-Warning: cobra.cs.Virginia.EDU: jcw5q owned process doing -bs Date: Tue, 7 Aug 2001 20:23:44 -0400 (EDT) From: Cliff Woolley X-X-Sender: To: , Ryan Bloom Subject: Re: cvs commit: apr/network_io/unix sockets.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Tue, 7 Aug 2001, Cliff Woolley wrote: > On FreeBSD (icarus) now: > > /bin/sh /x1/home/jwoolley/httpd-2.0/srclib/apr/libtool --silent > --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes > -Wmissing-declarations -DHAVE_CONFIG_H -D_REENTRANT -D_THREAD_SAFE > -DAPR_ASSERT_MEMORY -I../../include -I../../include/arch/unix > -I../../include/arch/unix -c sockets.c && touch sockets.lo > sockets.c: In function `apr_connect': > sockets.c:282: `sockfd' undeclared (first use in this function) > sockets.c:282: (Each undeclared identifier is reported only once > sockets.c:282: for each function it appears in.) > *** Error code 1 > > Stop in /x1/home/jwoolley/httpd-2.0/srclib/apr/network_io/unix. > *** Error code 1 > > Stop in /x1/home/jwoolley/httpd-2.0/srclib/apr/network_io/unix. Was it supposed to say the following? (Please forgive the wrapped lines.) --Cliff Index: sockets.c =================================================================== RCS file: /home/cvs/apr/network_io/unix/sockets.c,v retrieving revision 1.85 diff -u -d -r1.85 sockets.c --- sockets.c 2001/08/07 23:56:35 1.85 +++ sockets.c 2001/08/08 00:20:17 @@ -279,7 +279,7 @@ if (rc != APR_SUCCESS) { return rc; } - if ((rc = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &error, &len)) < 0) { + if ((rc = getsockopt(sock->socketdes, SOL_SOCKET, SO_ERROR, &error, &len)) < 0) { return(rc); } if (error) { -------------------------------------------------------------- Cliff Woolley cliffwoolley@yahoo.com Charlottesville, VA