www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/11/25/06:03:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Thu, 25 Nov 2004 13:03:18 +0200 (EET)
From: Esa A E Peuha <peuha AT cc DOT helsinki DOT fi>
Sender: peuha AT sirppi DOT helsinki DOT fi
To: djgpp-workers AT delorie DOT com
Subject: Re: A fix for popen().
In-Reply-To: <41A5BE9F.15534.2346D29@localhost>
Message-ID: <Pine.OSF.4.58.0411251228180.11858@sirppi.helsinki.fi>
References: <41A5BE9F DOT 15534 DOT 2346D29 AT localhost>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 25 Nov 2004, Juan Manuel Guerrero wrote:

> It seem that I have been sleeping as I made the patch. Please ignore it.
> >From the explaination it should be clear that following lines must be removed:
>
>      /* close file */
>      fclose(l1->fp);

And since l1->fp is really the same FILE struct as stdout, it doesn't
make much sense to call fclose on it anyway.  I don't know what I was
thinking when I wrote that, but I'll remove it.  Similar issue exists
with stdin in writing mode, so I'll fix that as well.

-- 
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019