delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/09/16/01:51:41

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10109160545.AA15331@clio.rice.edu>
Subject: Re: Build problems
To: djgpp-workers AT delorie DOT com
Date: Sun, 16 Sep 2001 00:45:14 -0500 (CDT)
In-Reply-To: <10109152328.AA03093@clio.rice.edu> from "Charles Sandmann" at Sep 15, 2001 06:28:20 PM
X-Mailer: ELM [version 2.5 PL2]
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

> > Another problem - if I use the "make" excutable from the w2k site
> > that Andrew built - I get "Bad command or file name" errors, and other
> > similar problems.  If I use the make.exe from Andris' site I got a few
> > weeks ago, it works.  The distribution version works (but leaks selectors).
> > I then tried a copy I built from source and I see the same errors as
> > Andrew's W2K version.  Build configuration problem on W2k?
> 
> I found if I rebuilt make linked to the patched 2.03 library I get this error, 
> but if I link to the original 2.03 library I don't.  So, something in
> the new W2K updates (both in 2.04 cvs and 2.03) seems to cause make to
> be unhappy in some cases.  Sigh.

_creat is broken.  Somehow doing the re-open on the file before closing it
isn't working.  The previous version which did the close, then open works
(which explains why we thought we had it fixed - this fix was ONLY in the
most recent builds).  The files being created are temporary files of the
name form dj200000.  Ideas?  Debugging indicates that we call the new
_creat and the re-open succeeds and we return the new handle.  I don't 
know why this new handle isn't good enough, unless something somewhere
doesn't expect us to "skip" handles (the one before the one we return is
the original one we freed).

- Raw text -


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