Article View: gnu.bash.bug
Article #118Re: Efficiency is important
From: James Van Artsdalen
Date: Thu, 15 Jun 1989 00:50
Date: Thu, 15 Jun 1989 00:50
15 lines
1134 bytes
1134 bytes
> Date: Wed, 14 Jun 89 00:59:41 EST > From: ray@gibbs.physics.purdue.edu (Ray Moody) > + /* Added Wed Jun 14 00:53:21 EST 1989 by Ray Moody */ > + /* We call setlinebuf () so that the readline package does not use > + one (expensive) write () system call for each character it prints. */ > + setlinebuf(stderr); This needs to be conditionalized on BSD or something. The system V method is to call setvbuf(stderr, buf, _IOLBF, sizeof buf). We get to supply the buffer. I've no idea who releases that buffer, but I guess we needn't worry about it. --- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789
Technical Details
Message-ID:
<8906150050.AA05037@bigtex.cactus.org>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bigtex.cactus.org!jamesShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bigtex.cactus.org!james From: james@bigtex.cactus.org (James Van Artsdalen) Newsgroups: gnu.bash.bug Subject: Re: Efficiency is important Message-ID: <8906150050.AA05037@bigtex.cactus.org> Date: 15 Jun 89 00:50:53 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15