Mail Archives: djgpp-workers/1997/02/04/01:18:10
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 -