This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygwin 2.0.2, make 4.1: stderr redirect append does not work with native Windows programs


> Just a wild guess here: line endings?  Try
>
> make 2>&1 | cat -A
>
> and see if everything's there.

This is of course easy for anyone to try using the reproducer I attached:

  $ make 2>&1 | cat -A
  echo first > output$
echo secondxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >> output$
  /cygdrive/c/Windows/System32/sort.exe nonexist 2>> output; true$
  ----- BEGIN output -----$
  nonexistThe system cannot find the file specified.^M^M$
  xxxxxxxxxxxxxx$
  ----- END output -----$

The output is still wrong.

-Scott

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]