* 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

@@ -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;