summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/release/3.2.0
blob: 5d010feeb83100e6524913db3a9c332fe750448b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
What's new:
-----------

- Revamped pseudo console support.

- New C11 threads API: call_once, cnd_broadcast, cnd_destroy, cnd_init,
  cnd_signal, cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
  mtx_timedlock, mtx_trylock, mtx_unlock, thrd_create, thrd_current,
  thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, thrd_yield,
  tss_create, tss_delete, tss_get, tss_set.

- In cygwin console, new thread which handles special keys/signals such
  as Ctrl-Z (VSUSP), Ctrl-\ (VQUIT), Ctrl-S (VSTOP), Ctrl-Q (VSTART) and
  SIGWINCH has been introduced. There have been a long standing issue
  that these keys/signals are handled only when app calls read() or
  select(). Now, these work even if app does not call read() or select().

What changed:
-------------

- Allow ~5000 child processes per process on 64 bit, ~1200 child processes
  per process on 32 bit.  So far, only 256 child processes per process were
  supported.

- A few FAQ updates.

- Have tmpfile(3) make use of Win32 FILE_ATTRIBUTE_TEMPORARY via open(2)
  flag O_TMPFILE.
  Addresses: https://cygwin.com/pipermail/cygwin/2021-January/247304.html

- Utilize Windows 10 1809 FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE
  flag to allow simpler unlink of files with DOS readonly flags set.


Bug Fixes
---------

- Iterate at least 4 times over pthread_key_t destructors per POSIX.

- The pthread_yield declaration in pthread is now visible by default
  or when defining _BSD_SOURCE, too.

- Fix SEGV in modfl call.
  Addresses: https://cygwin.com/pipermail/cygwin/2020-August/246056.html

- Fix a collision of offical and internally used file flags.
  Addresses: https://cygwin.com/pipermail/cygwin/2020-September/246174.html

- Fix assertion failure on an invalid path under /proc/<pid>/fd/.
  Addresses: https://cygwin.com/pipermail/cygwin/2020-September/246160.html

- Fix crash on stat(2)'ing /dev/ptmx on 32 bit.
  Addresses: https://cygwin.com/pipermail/cygwin/2020-September/246218.html

- Fix return value of sqrtl on negative infinity.
  Addresses: https://cygwin.com/pipermail/cygwin/2020-October/246606.html

- Fix a path handling problem if there is a WSL symlink in PATH.
  Addresses: https://cygwin.com/pipermail/cygwin/2020-December/246938.html

- Fix a bug in fstatat(2) on 32 bit that could cause it to return garbage.
  Addresses: https://cygwin.com/pipermail/cygwin/2021-January/247399.html

- Fix the errno when a path contains .. and the prefix exists but is
  not a directory.
  Addresses: https://lists.gnu.org/archive/html/bug-gnulib/2021-01/msg00214.html

- Fix the return value when ptsname_r(3) is called with a bad file descriptor
  Addresses: https://lists.gnu.org/archive/html/bug-gnulib/2021-01/msg00245.html

- Fix path handling in case the Cygwin installation dir is accessed via
  a Windows junction point.
  Addresses: https://cygwin.com/pipermail/cygwin-developers/2021-February/012054.html

- Fix potential handle leaks when dup'ing descriptors
  Addresses: https://cygwin.com/pipermail/cygwin-developers/2021-February/012041.html