From owner-freebsd-standards@FreeBSD.ORG Wed Jun 8 13:32:51 2005 Return-Path: X-Original-To: standards@freebsd.org Delivered-To: freebsd-standards@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BCAD16A41C for ; Wed, 8 Jun 2005 13:32:51 +0000 (GMT) (envelope-from mike@reifenberger.com) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0FFA43D58 for ; Wed, 8 Jun 2005 13:32:50 +0000 (GMT) (envelope-from mike@reifenberger.com) Received: from fwd21.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1Dg0fo-0002Wf-04; Wed, 08 Jun 2005 15:32:48 +0200 Received: from fw.reifenberger.com (XH9M02ZEreT1+OOAIaina0xmiXx9S3g1yqPw2QOiSwpoTcHuLX8CQ-@[84.152.95.217]) by fwd21.sul.t-online.de with esmtp id 1Dg0fa-1GqdTU0; Wed, 8 Jun 2005 15:32:34 +0200 Received: from localhost (mike@localhost) by fw.reifenberger.com (8.13.3/8.13.3/Submit) with ESMTP id j58DW9pI031307; Wed, 8 Jun 2005 15:32:09 +0200 (CEST) (envelope-from mike@reifenberger.com) X-Authentication-Warning: fw.reifenberger.com: mike owned process doing -bs Date: Wed, 8 Jun 2005 15:32:09 +0200 (CEST) From: Michael Reifenberger To: Stefan Farfeleder In-Reply-To: <20050608125416.GA17962@wombat.fafoe.narf.at> Message-ID: <20050608152614.H31265@fw.reifenberger.com> References: <20050608094851.D29843@fw.reifenberger.com> <20050608103045.GC16848@wombat.fafoe.narf.at> <20050608124306.X30581@fw.reifenberger.com> <20050608125416.GA17962@wombat.fafoe.narf.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-ID: XH9M02ZEreT1+OOAIaina0xmiXx9S3g1yqPw2QOiSwpoTcHuLX8CQ-@t-dialin.net X-TOI-MSGID: e31d3ea8-7ecf-4793-82e8-1a9da623f62b Cc: standards@freebsd.org Subject: Re: libstand functions not ansi-c compiliant X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 13:32:51 -0000 On Wed, 8 Jun 2005, Stefan Farfeleder wrote: > Date: Wed, 8 Jun 2005 14:54:23 +0200 > From: Stefan Farfeleder > To: Michael Reifenberger > Cc: standards@freebsd.org > Subject: Re: libstand functions not ansi-c compiliant > > On Wed, Jun 08, 2005 at 12:52:42PM +0200, Michael Reifenberger wrote: >> >> The advantage would be (thats how I got to this issue at all) that >> you don't get compiling errors when including too. >> (I had to do this to get the definition of FILE for the work >> on upgrading sys/boot/ficl to ficl4) > > I'd consider including from sys/boot/ficl a bug. > Maybe. Thats debatable. But by default ficl.h (coming with ficl4)does inslude and ficl4 says about itself: ...Ficl is written in strict ANSI C... Unfortunately is part of ANSI-C... So one cant blame ficl4 for that. >>> You can't just change the return type in the header without changing all >>> definitions of putchar(). >> >> It seems that putchar is not implemented in libstand. >> Do you know where? > > Each application using libstand is expected to implement putchar(), see > libstand(3). > Ah. Bye/2 --- Michael Reifenberger, Business Development Manager SAP-Basis, Plaut Consulting Comp: Michael.Reifenberger@plaut.de | Priv: Michael@Reifenberger.com http://www.plaut.de | http://www.Reifenberger.com