Corinna Vinschen
e9f223877f
Cygwin: move FP environment exports to common.din
...
We only have the symbols defined for i686 by accident since 2013...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-07-20 13:55:26 +02:00
Mark Geisert
3e51cc478d
fix duration handling in sigtimedwait
2018-07-19 13:18:49 +02:00
Corinna Vinschen
995d2a824a
Cygwin: tape: Handle non-standard "no medium" error code
...
Certain tape drives (known example: QUANTUM_ULTRIUM-HH6) return
the non-standard ERROR_NOT_READY rather than ERROR_NO_MEDIA_IN_DRIVE
if no media is present. ERROR_NOT_READY is not documented as valid
return code from GetTapeStatus. Without handling this error code
Cygwin's tape code can't report an offline state to user space.
Fix this by converting ERROR_NOT_READY to ERROR_NO_MEDIA_IN_DRIVE
where appropriate.
Add a debug_printf to mtinfo_drive::get_status to allow requesting
user info without having to rebuild the DLL.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-06-29 15:31:15 +02:00
Corinna Vinschen
732e0b395d
Cygwin: Implement pthread_tryjoin_np and pthread_timedjoin_np
...
- Move pthread_join to thread.cc to have all `join' calls in
the same file (pthread_timedjoin_np needs pthread_convert_abstime
which is static inline in thread.cc)
- Bump API version
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-06-27 17:56:59 +02:00
Corinna Vinschen
17918cc6a6
Cygwin: add Unicode patch to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-06-26 10:21:18 +02:00
Corinna Vinschen
dbe905c140
Cygwin: exceptions: fix FPE exception flags
...
The FPE flags for divisions by zero were not implemented
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-06-26 10:12:19 +02:00
Ken Brown
2ea436b433
Cygwin: Document clearenv and bump API minor
...
Also add earlier "What changed" items to new-features.xml.
2018-06-07 09:42:36 +02:00
Ken Brown
a7c23d109f
Cygwin: Add pthread_rwlock_* fix to release notes
2018-06-01 21:59:42 +02:00
Corinna Vinschen
8ac6b15487
Cygwin: Add stack alignment crash after fork fix to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-05-29 18:43:20 +02:00
Corinna Vinschen
efade43bd5
Cygwin: Add buffer underrun fix to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-05-29 18:31:07 +02:00
Corinna Vinschen
5d99256613
Cygwin: add cuinof changes to release text
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-04-11 12:46:18 +02:00
Corinna Vinschen
8a91646183
Cygwin: add strtod fix to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-04-09 11:48:33 +02:00
Corinna Vinschen
26bcedda20
Cygwin: fix utils path handling in case cygdrive path is just '/'
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-02-16 17:21:48 +01:00
Corinna Vinschen
c51a0b74dc
Cygwin: sockets: Handle SO_RCVTIMEO and SO_SNDTIMEO
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-02-07 16:18:07 +01:00
Corinna Vinschen
c17b0f0082
cygwin: 2.10.0 release text: fix formatting
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-01-22 15:32:29 +01:00
Yaakov Selkowitz
00bf01789e
cygwin: update docs for 2.10.0
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-19 13:19:22 -06:00
Corinna Vinschen
eb4bfe4621
cygwin: block devices: fix file offset after short writes
...
When reading/writing block devices, Cygwin emulates Linux, providing
a byte-exact file position, albeit the underlying device drivers don't.
Unfortunately this only worked correctly for reading. The raw_write
method failed to revalidate the buffer after the read-modify-write
cycle in case len is not a multiple of the sector length. This in
turn resulted in lseek reporting a wrong file pointer.
Also, fix a condition for invalidating the buffer after writing from
a remaining read buffer.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-19 18:58:06 +01:00
Corinna Vinschen
d5abcdd5a7
Cygwin: document sigtimedwait and ftell{o} patch
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-18 20:21:15 +01:00
Corinna Vinschen
32988bd409
cygwin: add mmap fork fix to 2.10.0 release test
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-10 14:32:34 +01:00
Corinna Vinschen
08d77e5154
cygwin: document %l[ and bump API minor
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-01 18:21:59 +01:00
Corinna Vinschen
10b57ba8d0
cygwin: Document latest changes, bump API minor
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-11-30 21:57:16 +01:00
Corinna Vinschen
ce0b11f9c4
Cygwin: Bump DLL version to 2.10.0, bump API minor to 319
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-11-14 21:45:32 +01:00
Corinna Vinschen
2640628b09
cygwin: add socket bugfix to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-11-07 16:11:08 +01:00
Corinna Vinschen
09d60f6444
cygwin: add 2.9.1 release messages file
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-11-02 18:09:39 +01:00
Corinna Vinschen
cdbec10e79
cygwin: add strptime %F fix to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-08-29 21:12:21 +02:00
Corinna Vinschen
4dfaef8141
cygwin: document %s support in strptime
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-08-29 11:16:13 +02:00
Corinna Vinschen
cf8bf843f8
cygwin: export strnstr
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-08-25 18:00:46 +02:00
Ken Brown
3012e251fa
Document renameat2
2017-08-19 19:43:15 +02:00
Corinna Vinschen
8128f5482f
cygwin: Implement pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-08-03 21:31:38 +02:00
Corinna Vinschen
eb206317a8
cygwin: Bump DLL version to 2.9.0
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-08-03 19:17:45 +02:00
Yaakov Selkowitz
109a3a02a3
cygwin: add explicit_bzero, elf.h changes to release
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-08-02 04:38:01 -05:00
Corinna Vinschen
8c4f86dd8e
cygwin: add console issues to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-07-31 23:08:19 +02:00
Corinna Vinschen
4bccfcca5b
cygwin: add release notes for reparse point patches
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-07-24 23:04:34 +02:00
Corinna Vinschen
d2ae2f00b8
cygwin: add fflush fix to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-07-19 10:41:36 +02:00
Corinna Vinschen
e09a25c01b
cygwin: 2.8.2: add missing release message text
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-07-12 10:49:10 +02:00
Yaakov Selkowitz
5fac663b29
cygwin: document signal.h fixes
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-07-12 03:24:50 -05:00
Corinna Vinschen
2d9c69da1c
cygwin: export fls, flsl, flsll
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-07-11 10:31:44 +02:00
Corinna Vinschen
56c1cfa009
add scandirat patch to release notes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-07-04 15:13:31 +02:00
Corinna Vinschen
92fc6ea7e3
Note regtool fix in release message
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-06-22 14:48:43 +02:00
Yaakov Selkowitz
f698efbce1
cygwin: export strverscmp, add versionsort
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-06-19 08:16:42 -05:00
Yaakov Selkowitz
a5cc86ba13
cygwin: document XSI sigpause
...
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-06-14 14:30:44 -05:00
Corinna Vinschen
105436dead
cygwin: document lrint bugfix
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-06-07 11:07:52 +02:00
Corinna Vinschen
163066a1a5
cygwin: document env var crash fix
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-06-06 21:11:52 +02:00
Corinna Vinschen
41b7ef9e1f
cygwin: document wcsxfrm fix
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-06-06 18:39:41 +02:00
Jon Turney
fe7a7709ef
Fix transposed lines in 2.8.1 release text
2017-04-24 17:17:38 +01:00
Jon Turney
2980e76ae3
Update 2.8.1 release text
2017-04-24 17:13:04 +01:00
Corinna Vinschen
fccaaee026
cygwin: add 2.8.1 release file
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-04-24 17:36:54 +02:00
Corinna Vinschen
577c9d55da
Add latest changes to Cygwin release information
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-03-28 13:42:11 +02:00
Corinna Vinschen
0accc5332a
Document cygserver changes
...
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-03-24 18:13:08 +01:00
Corinna Vinschen
33297d810d
Cygwin: dlfcn: Fix reference counting
...
The original dll_init code was living under the wrong assumption that
dll_dllcrt0_1 and in turn dll_list::alloc will be called for each
LoadLibrary call. The same wrong assumption was made for
cygwin_detach_dll/dll_list::detach called via FreeLibrary.
In reality, dll_dllcrt0_1 gets only called once at first LoadLibrary
and cygwin_detach_dll once at last FreeLibrary.
In effect, reference counting for DLLs was completely broken after fork:
parent:
l1 = dlopen ("lib1"); // LoadLibrary, LoadCount = 1
l2 = dlopen ("lib1"); // LoadLibrary, LoadCount = 2
fork (); // LoadLibrary in the child, LoadCount = 1!
child:
dlclose (l1); // FreeLibrary actually frees the lib
x = dlsym (l2); // SEGV
* Move reference counting to dlopen/dlclose since only those functions
have to keep track of loading/unloading DLLs in the application context.
* Remove broken accounting code from dll_list::alloc and dll_list::detach.
* Fix error handling in dlclose.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-03-21 14:31:03 +01:00