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