diff options
author | Christopher Faylor <me@cgf.cx> | 2002-07-03 07:20:50 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-07-03 07:20:50 +0400 |
commit | 4558638014de7cf18593510922a1339a03c4cda0 (patch) | |
tree | e2ea92fbb7f85d425dea842834799286be1432ee /winsup/cygwin/fhandler_dsp.cc | |
parent | 66eee32b8fec65cab4a0fb21895fdd39030b2afe (diff) |
* cygheap.cc (init_cheap): Rearrange error message.
(cygheap_fixup_in_child): Ditto.
* dtable.cc: Remove if 0'ed code.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Force binmode.
* sec_helper.cc (cygsid::get_id): Use system_printf for error message.
* tty.cc (tty::common_init): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_dsp.cc')
-rw-r--r-- | winsup/cygwin/fhandler_dsp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc index f809b93cc..fad431900 100644 --- a/winsup/cygwin/fhandler_dsp.cc +++ b/winsup/cygwin/fhandler_dsp.cc @@ -438,7 +438,7 @@ fhandler_dev_dsp::open (path_conv *, int flags, mode_t mode) return 0; } - set_flags (flags & ~O_TEXT, O_BINARY); + set_flags ((flags & ~O_TEXT) | O_BINARY); if (!s_audio) s_audio = new (audio_buf) Audio; |