delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/02/04/01:18:10

Date: Tue, 4 Feb 1997 08:13:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Douglas B. Rupp" <rupp AT gnat DOT com>
cc: djgpp-workers AT delorie DOT com, Daisuke Aoyama <jack AT st DOT rim DOT or DOT jp>
Subject: Re: bash and make gnat1 (or cc1plus)
In-Reply-To: <9702040253.AA00336@nile.gnat.com>
Message-ID: <Pine.SUN.3.91.970204080657.28998B-100000@is>
MIME-Version: 1.0

On Mon, 3 Feb 1997, Douglas B. Rupp wrote:

> > Sorry, it's not make, but the bash source build utility "mkbuiltins".  It
> > calls "stat()" and then "open()" on a long list of .def files passed
> > to it on the command line. Both functions fail to find the files that
> > are patched.  Very strange.
> > 
> 
> Sorry again, it's not that stat can't find it, it's the annoying Dos vs Unix
> CR/LF size mismatch.  Stat() says it's one size but Read() says it's another.
> The patched files became Dos mode files.  An annoying "feature" of Patch?

I submit that this is not a bug (or feature) of `patch', but a bug in 
`mkbuiltins'.  The ported version should *not* depend on `read' returning 
the same value as `stat'.  This is one of the small hassles that need to 
be fixed when a Unix program is ported to DOS (or any other MS-bred OS, 
for that matter).

- Raw text -


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