www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/12/07/19:28:31

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Authentication-Warning: itservs.wilkes.edu: apache set sender to fdonahoe AT wilkes DOT edu using -f
Message-ID: <1102464585.41b6464957bb4@webmail.wilkes.edu>
Date: Tue, 7 Dec 2004 19:09:45 -0500
From: fdonahoe AT wilkes DOT edu
To: Workers List <djgpp-workers AT delorie DOT com>
Cc: Juan Manuel Guerrero <st001906 AT hrz1 DOT hrz DOT tu-darmstadt DOT de>,
Esa Peuha <esa DOT peuha AT helsinki DOT fi>
Subject: Re: Bison 1.875 (release 2)
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) 3.2
X-Originating-IP: 146.94.1.216
Reply-To: djgpp-workers AT delorie DOT com

I had believed that the popen.c used to build the bison.exe
which passed all 104 tests, and the sed which passed the
"eval" test differed from the version of 04-11-30 only by
the addition of Juan Manuel Guerrero' patch of 04-12-06.
This is not true.  It also contains Esa A E Peuha' patch
of 04-11-29.

--- /djg/tmp/popen.c	2004-12-07 18:50:38.000000000 -0500
+++ /tmp/djgpp/src/libc/posix/stdio/popen.c	2004-12-06
16:12:20.000000000 -0500
@@ -78,6 +78,7 @@
   /* make new node */
   if ((l1 = malloc(sizeof(*l1))) == NULL)
     return NULL;
+  l1->command = NULL;
 
   /* if empty list - just grab new node */
   l1->next = pl;
@@ -247,7 +248,7 @@
 
  exit:
 
-  if (l1->command)
+  if (l1->mode[0] == 'w')
     free(l1->command);
 
   free(l1);

------

Regards,
Frank



-----------------------------------------------------------------------
This mail was sent through Wilkes Webmail: http://webmail.wilkes.edu
Wilkes Webmail is using IMP: http://horde.org/imp/

- Raw text -


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