Fixing the state of C++ in Cygwin

Steven Brown swbrown@ucsd.edu
Mon Apr 17 03:27:00 GMT 2006


Steven Brown wrote:

> Steven Brown@FICTITION ~/src
> $ cat << EOF | file -
>  > foo
>  > EOF
> /dev/stdin: ASCII text, with CRLF line terminators
[...]
> Is this by design or a bug?  It seems like the wrong thing for it to be 
> doing.

The cause of this is apparently /tmp being a textmode mount.  If 
switched to binary, cat << EOF works as expected.  Is that really what's 
supposed to happen?  It doesn't seem right that a system configured to 
act binmode is going textmode just due to using '<< EOF' syntax.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list