mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
This commit is contained in:
parent
5fe3a988af
commit
dfe569334a
@ -1,3 +1,7 @@
|
|||||||
|
2002-05-30 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* mkpasswd.cc (main): Don't reset to binmode if stdout is a terminal.
|
||||||
|
|
||||||
2002-05-29 Christopher Faylor <cgf@redhat.com>
|
2002-05-29 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* mount.cc (main): Make -b the default.
|
* mount.cc (main): Make -b the default.
|
||||||
|
@ -476,7 +476,8 @@ main (int argc, char **argv)
|
|||||||
DWORD len;
|
DWORD len;
|
||||||
|
|
||||||
passed_home_path[0] = '\0';
|
passed_home_path[0] = '\0';
|
||||||
setmode (1, O_BINARY);
|
if (!isatty (1))
|
||||||
|
setmode (1, O_BINARY);
|
||||||
|
|
||||||
if (GetVersion () < 0x80000000)
|
if (GetVersion () < 0x80000000)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user