diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-07-18 08:16:40 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-07-18 08:16:40 +0000 |
commit | fd8e5366aa3c50b1049b9370984d04b46f950d20 (patch) | |
tree | 113baa50e9b997ed37be992da287e655d4bc692d /winsup/cygwin/pipe.cc | |
parent | d2af9effc5b998a46c5819a269807976465a00b4 (diff) | |
download | cygnal-fd8e5366aa3c50b1049b9370984d04b46f950d20.tar.gz cygnal-fd8e5366aa3c50b1049b9370984d04b46f950d20.tar.bz2 cygnal-fd8e5366aa3c50b1049b9370984d04b46f950d20.zip |
* environ.cc (known): Remove "binmode" option.
* fhandler.cc (binmode): Remove.
(fhandler_base::set_flags): Accommodate binmode removal.
* path.h (path_conv::set_binary): Remove.
* pipe.cc (pipe): Create pipes always as binary pipes.
* winsup.h (binmode): Remove declaration.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index edd901160..2cad3fe26 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -495,11 +495,8 @@ fhandler_pipe::fstatvfs (struct statvfs *sfs) extern "C" int pipe (int filedes[2]) { - extern DWORD binmode; fhandler_pipe *fhs[2]; - int res = fhandler_pipe::create (fhs, DEFAULT_PIPEBUFSIZE, - (!binmode || binmode == O_BINARY) - ? O_BINARY : O_TEXT); + int res = fhandler_pipe::create (fhs, DEFAULT_PIPEBUFSIZE, O_BINARY); if (res == 0) { cygheap_fdnew fdin; |