On Feb 17 18:28, Andrey Repin wrote: > Greetings, Corinna Vinschen! > > > I uploaded a new Cygwin release 3.0.0-1. > > The redirection issue I mentioned for 3.0-0.9 is still happens. > And I see the STC did not made it to the list. > Hamsters were hungry, I guess... Let's try without attachments. > > 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. Corinna -- Corinna Vinschen Cygwin Maintainer
signature.asc
Description: PGP signature