On Feb 18 14:01, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
> 
> >> > >> TYPE "%SystemRoot%\win.ini" | diff -u "%SystemRoot%\win.ini" -
> >> > 
> >> > > I'm baffled.  diff calls fstat on descriptor 0.  fstat returns
> >> > > with st_mode set to S_IFIFO | S_IRUSR, so it *knows* descriptor
> >> > > 0 is a pipe and thus not seekable.  Nevertheless it calls lseek
> >> > > just a bit later to seek back to the beginning of input.
> >> > 
> >> > Do you need me to strace it locally?
> >> 
> >> No, the above is what I gathered from strace, but thanks all the
> >> same.  Patch is forthcoming.
> 
> > Please try the today's developer snapshot from
> > https://cygwin.com/snapshots/
> 
> Looks file at a first glance.

👍

Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

Attachment: signature.asc
Description: PGP signature

Reply via email to