* 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.
This commit is contained in:
Corinna Vinschen
2008-07-18 08:16:40 +00:00
parent d2af9effc5
commit fd8e5366aa
6 changed files with 11 additions and 11 deletions

View File

@ -34,8 +34,6 @@ static NO_COPY const int CHUNK_SIZE = 1024; /* Used for crlf conversions */
struct __cygwin_perfile *perfile_table;
DWORD binmode;
inline fhandler_base&
fhandler_base::operator =(fhandler_base& x)
{
@ -197,8 +195,7 @@ fhandler_base::set_flags (int flags, int supplied_bin)
else if (supplied_bin)
bin = supplied_bin;
else
bin = wbinary () || rbinary () || (binmode != O_TEXT)
? O_BINARY : O_TEXT;
bin = wbinary () || rbinary () ? O_BINARY : O_TEXT;
openflags = flags | bin;