Mail Archives: djgpp-workers/2001/08/20/14:35:58
> From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
> Date: Mon, 20 Aug 2001 12:15:43 -0500 (CDT)
>
> > I'm not sure: if you comment out _is_executable, you don't read the
> > file, but you still lseek (because fstat does that elsewhere in its
> > code, when it calls __filelength). So the read-before-lseek
> > hypothesis should explain why seeking in __filelength works, while
> > seeking in _is_executable doesn't.
>
> Something must have also changed between 2.03 and cvs, since 2.03
> works with lfn=y also.
A _lot_ has changed since 2.03: _open now works differently, fstat
uses system calls it didn't before, there's symlink support whcih
wasn't there in v2.03... (probably forgetting some more)
But I'm actually more bothered by your saying that _get_dev_info
returns zero for redirected stdin. I thought you tested that several
days ago and found preconnected handles to be in good shape as far as
IOCTL calls were concerned, no? If that's not true, we might have
problems with isatty which is used _very_ heavily in many
applications.
- Raw text -