delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <3BF52D42.88E99373@syntrex.com> |
Date: | Fri, 16 Nov 2001 16:14:10 +0100 |
From: | Pavel Tsekov <ptsekov AT syntrex DOT com> |
X-Mailer: | Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | Gareth Pearce <tilps AT hotmail DOT com> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: setlinebuf |
References: | <OE33rIwbyKYdCPubiq4000126f1 AT hotmail DOT com> |
Gareth Pearce wrote: > > Hi > > umm trying to compile a few things and got setlinebuf not defined a few > times. I poked arround the web abit and found that its a BSD extension on > stdio (provided in glibc as well)- which is used in a few places. It is > also incredibly easy to implement as its just a 1 line call to the standard > setvbuf - obviously its easy to change code that uses it - but having more > things compile out of the box is seems like a good idea... > Since its so trivial I would like to add it - however I was unsure as to > what the appropriate path to getting something added is when it will be in > the newlib directory. > > Anyone want to point me in the right direction ... prehaps I should be > heading to a newlib mailinglist ? > Check this link :) http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdio/setbuffer.c?rev=1.5&content-type=text/x-cvsweb-markup I think it's appropriate to name the file like this one since the newlib implementation of stdio is borrowed from BSD. The put it in newlib/libc/stdio. And I think you'll have to post the patch to the newlib mailing list too. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |