On 2019-02-17 09:42, Corinna Vinschen wrote: > On Feb 17 18:28, Andrey Repin wrote: >> 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.
Appears to be running under Windows shell (TYPE) and pipe redirection - could that make a difference under some Windows versions about what is known? What are uname -srvmo and cmd /c ver? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple