From owner-freebsd-current Tue Apr 15 03:01:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA00431 for current-outgoing; Tue, 15 Apr 1997 03:01:04 -0700 (PDT) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA00416; Tue, 15 Apr 1997 03:00:54 -0700 (PDT) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id MAA21010; Tue, 15 Apr 1997 12:01:23 +0200 (MET DST) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.8.5/8.6.9) id MAA02234; Tue, 15 Apr 1997 12:19:14 +0200 (MET DST) From: Christoph Kukulies Message-Id: <199704151019.MAA02234@gilberto.physik.rwth-aachen.de> Subject: Re: truncate.c breaks make world In-Reply-To: <199704150649.IAA28287@helbig.informatik.ba-stuttgart.de> from Wolfgang Helbig at "Apr 15, 97 08:49:42 am" To: helbig@MX.BA-Stuttgart.De (Wolfgang Helbig) Date: Tue, 15 Apr 1997 12:19:12 +0200 (MET DST) Cc: current@FreeBSD.ORG, wollman@FreeBSD.ORG Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hi, > > 'make world' breaks at compiling /usr/src/lib/libc/sys/truncate.c . > The prototype and definition of truncate() disagrees. > Here is a reconciling patch: > > > Index: truncate.c > =================================================================== > RCS file: /usr/cvsroot/src/lib/libc/sys/truncate.c,v > retrieving revision 1.1.1.1 > diff -r1.1.1.1 truncate.c > 47,48c47,48 > < char *path; > < off_t length; > --- > > const char *path; > > off_t length; > > > Wolfgang Wolfgang, This has already been posted by Ollivier Robert yesterday. You are 3 to 4 stumbling blocks behind :-) > -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de