summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/release/2.10.0
blob: ad71229767d7b04159936e8e7b1c7cceecaa6e97 (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
What's new:
-----------

- New open(2) flags O_TMPFILE and O_NOATIME.

- scanf/wscanf now handle the POSIX %m modifier.

- scanf now handles the %l[ conversion.

- Improved hostprogs compatibility for cross-compiling the Linux kernel.
New headers: <asm/bitsperlong.h>, <asm/posix_types.h>.

- Built-in implementation of Stack Smashing Protection compiler feature.
New APIs: __stack_chk_fail, __stack_chk_guard.

- Built-in implementation of _FORTIFY_SOURCE guards for functions in
<stdio.h>, <stdlib.h>, <string.h>, <strings.h>, <unistd.h>, <wchar.h>,
<sys/poll.h>, and <sys/socket.h>.
New APIs:  __chk_fail, __gets_chk, __memcpy_chk, __memmove_chk, __mempcpy_chk,
__memset_chk, __snprintf_chk, __sprintf_chk, __stpcpy_chk, __stpncpy_chk,
__strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk, __vsnprintf_chk,
__vsprintf_chk.

- Built-in implementation of POSIX.1-2001 message catalog support.
New APIs: catclose, catgets, catopen.  New tool: gencat.

- New APIs: sigtimedwait, wmempcpy.


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

- Standard headers no longer use macros to support K&R C.

- confstr(3) and getconf(1) accept LFS_CFLAGS, LFS_LDFLAGS, etc.

- The __always_inline and __nonnull macros in <sys/cdefs.h> are now
compatible with glibc.

- Feature Test Macros improvements in <fcntl.h>, <limits.h>, <netdb.h>,
<strings.h>, and <unistd.h>.


Bug Fixes
---------

- Fix a problem in unlink on NFS.
  Addresses: Shows up in GAWK testsuite test "testext"

- Fix errno setting bug in posix_fadvise and posix_fallocate.
  Addresses: https://cygwin.com/ml/cygwin-patches/2017-q4/msg00026.html

- Fix two bugs in the limit of large numbers of sockets.
  Addresses: https://cygwin.com/ml/cygwin/2017-11/msg00052.html

- Fix a fork failure with private anonymous mmaps.
  Addresses: https://cygwin.com/ml/cygwin/2017-12/msg00061.html

- Remove a call to fflush from ftell{o}, which may result in wrong offsets.
  Addresses: https://cygwin.com/ml/cygwin/2017-12/msg00151.html

- Fix file pointer computation after short writes on block devices.
  Addresses: https://cygwin.com/ml/cygwin/2017-12/msg00151.html