newlib/winsup/cygwin/release
Corinna Vinschen 367c1ae161 Cygwin: mount: define binary mount as default
Commit c1023ee353 changed the way
path_conv::binmode() works.  Rather than returning three states,
O_BINARY, O_TEXT, 0, it only returned 2 states, O_BINARY, O_TEXT.  Since
mounts are only binary if they are explicitely mounted binary by setting
the MOUNT_BINARY flag, textmode is default.

This introduced a new bug.  When inheriting stdio HANDLEs from native
Windows processes, the fhandler and its path_conv are created from a
device struct only.  None of the path or mount flags get set this way.
So the mount flags are 0 and path_conv::binmode() returned 0.

After the path_conv::binmode() change it returned O_TEXT since, as
explained above, the default mount mode is textmode.

Rather than just enforcing binary mode for path_conv's created from
device structs, this patch changes the default mount mode to binary:

Replace MOUNT_BINARY flag with MOUNT_TEXT flag with opposite meaning.
Drop all explicit setting of MOUNT_BINARY.  Drop local set_flags
function, it doesn't add any value.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-02-18 10:26:53 +01:00
..
1.7.10
1.7.11
1.7.12
1.7.13
1.7.14
1.7.15
1.7.16
1.7.17
1.7.18
1.7.19
1.7.20
1.7.21
1.7.22
1.7.23
1.7.24
1.7.25
1.7.26
1.7.27
1.7.28
1.7.29
1.7.30
1.7.31
1.7.32
1.7.33
1.7.34
1.7.35
2.0.0
2.0.1
2.0.3
2.0.4
2.1.0
2.2.0
2.2.1
2.3.0
2.3.1
2.4.0
2.4.1
2.5.0 Add latest changes to release message 2016-04-05 10:35:05 +02:00
2.5.1 Add release message for commit 9409c53 2016-04-20 12:34:07 +02:00
2.5.2 Add release message for commit 2c83227 2016-06-21 13:43:53 +02:00
2.6.0 Fix passwd getting error 1265 when running on newer Windows 2016-08-31 12:08:34 +02:00
2.6.1 Cygwin: Add release messages for last two checkins 2016-12-13 12:49:02 +01:00
2.7.0 Add release message for commit 609d2b2 2017-02-03 21:54:25 +01:00
2.8.0 Add latest changes to Cygwin release information 2017-03-28 13:42:11 +02:00
2.8.1 Note regtool fix in release message 2017-06-22 14:48:43 +02:00
2.8.2 cygwin: 2.8.2: add missing release message text 2017-07-12 10:49:10 +02:00
2.9.0 cygwin: add strptime %F fix to release notes 2017-08-29 21:12:21 +02:00
2.10.0 cygwin: 2.10.0 release text: fix formatting 2018-01-22 15:32:29 +01:00
2.11.0 Cygwin: Accommodate logon sessions on Windows 10 2018-08-28 11:28:28 +02:00
2.11.1 Cygwin: fix Win32 path ".." backtracking 2018-09-01 21:06:24 +02:00
2.11.2 Cygwin: honor SOCK_NONBLOCK/SOCK_CLOEXEC in socket(2)/socketpair(2) 2018-11-05 21:02:22 +01:00
3.0 Cygwin: passwd/group: store account name case correct 2019-02-13 11:13:28 +01:00
3.0.1 Cygwin: mount: define binary mount as default 2019-02-18 10:26:53 +01:00