diff options
author | Christopher Faylor <me@cgf.cx> | 2002-07-03 18:02:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-07-03 18:02:54 +0000 |
commit | 58b43c8d91e03e7bca9b60047e1e79255b2cc12b (patch) | |
tree | b29dc456bafa486c679ad73c588b02e9e46b9107 /winsup/cygwin/dtable.cc | |
parent | bd86408f5893ab5369f9e4eebbfce1fa8424ce51 (diff) | |
download | cygnal-58b43c8d91e03e7bca9b60047e1e79255b2cc12b.tar.gz cygnal-58b43c8d91e03e7bca9b60047e1e79255b2cc12b.tar.bz2 cygnal-58b43c8d91e03e7bca9b60047e1e79255b2cc12b.zip |
* dtable.cc (cygwin_attach_handle_to_fd): Default to implicit bin mode if none
specified.
* fhandler.cc (fhandler_base::init): Make bin argument a guarantee rather than
a suggestion.
* path.cc (path_conv::check): Load flag returned from cygwin_conv_to_win32_path
into path_flags.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r-- | winsup/cygwin/dtable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index bb9db8a4a..4e8c6f792 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -206,7 +206,7 @@ cygwin_attach_handle_to_fd (char *name, int fd, HANDLE handle, mode_t bin, path_conv pc; fhandler_base *res = cygheap->fdtab.build_fhandler_from_name (fd, name, handle, pc); - res->init (handle, myaccess, bin); + res->init (handle, myaccess, bin ?: pc.binmode ()); return fd; } |