Date: Tue, 4 Feb 1997 08:13:30 +0200 (IST) From: Eli Zaretskii To: "Douglas B. Rupp" cc: djgpp-workers AT delorie DOT com, Daisuke Aoyama Subject: Re: bash and make gnat1 (or cc1plus) In-Reply-To: <9702040253.AA00336@nile.gnat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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).