Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 16:28:03 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libfetch Makefile common.c common.h fetch.3 fetch.c fetch.h file.c ftp.c http.c
Message-ID:  <20011225162803.C304@straylight.oblivion.bg>
In-Reply-To: <200112180944.fBI9ioK99527@freefall.freebsd.org>; from des@FreeBSD.org on Tue, Dec 18, 2001 at 01:44:50AM -0800
References:  <200112180944.fBI9ioK99527@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 18, 2001 at 01:44:50AM -0800, Dag-Erling Smorgrav wrote:
> des         2001/12/18 01:44:50 PST
> 
>   Modified files:        (Branch: RELENG_4)
>     lib/libfetch         Makefile common.c common.h fetch.3 
>                          fetch.c fetch.h file.c ftp.c http.c 
>   Log:
>   MFC: synch with -CURRENT (authentication callbacks, redirect to FTP URLs,
>   verbosity, various small bug fixes, warnings and style, version bump).

This does not quite compile with WARNS_WERROR, due to some constness
in uio.h structs.  The attached patch fixes a WERROR build.
Unfortunately, I do not think this can be resolved without separating
the readv() and writev() argument structs, constifying the writev() one
and introducing a gross incompatibility with all the Unix-like OS's
out there..

G'luck,
Peter

-- 
If you think this sentence is confusing, then change one pig.

Index: lib/libfetch/Makefile
===================================================================
RCS file: /home/ncvs/src/lib/libfetch/Makefile,v
retrieving revision 1.14.2.4
diff -u -r1.14.2.4 Makefile
--- lib/libfetch/Makefile	18 Dec 2001 09:44:49 -0000	1.14.2.4
+++ lib/libfetch/Makefile	20 Dec 2001 16:50:43 -0000
@@ -2,7 +2,7 @@
 
 MAINTAINER=	des@freebsd.org
 LIB=		fetch
-WARNS?=		2
+WARNS?=		1
 CFLAGS+=	-I.
 CFLAGS+=	-DINET6
 SRCS=		fetch.c common.c ftp.c http.c file.c \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011225162803.C304>