* 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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user