diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-04-14 08:54:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-14 08:54:57 +0200 |
commit | b49ab5f4503f36dcbf43f821f817da66b2931fe6 (patch) | |
tree | 3b3eb99facf62df3f8f436ef71a66aee7c953c2c /ChangeLog | |
parent | 5f5682b9654101ccaf375c2814cbddbe6033a725 (diff) | |
download | glibc-b49ab5f4503f36dcbf43f821f817da66b2931fe6.tar.gz glibc-b49ab5f4503f36dcbf43f821f817da66b2931fe6.tar.xz glibc-b49ab5f4503f36dcbf43f821f817da66b2931fe6.zip |
Remove union wait [BZ #19613]
The overloading approach in the W* macros was incompatible with integer expressions of a type different from int. Applications using union wait and these macros will have to migrate to the POSIX-specified int status type.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index f880712ef0..304171b55c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,34 @@ +2016-04-14 Florian Weimer <fweimer@redhat.com> + + [BZ #19613] + Remove union wait. + * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode) + (w_stopsig, w_stopval): Remove. + * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the + stat_loc argument. + * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS) + (__WAIT_STATUS_DEFN): Remove. + (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED) + (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT. + (wait, wait3, wait4): Use int * for the stat_loc argument. + * posix/wait.c (__wait): Likewise. + * posix/wait3.c (__wait3): Likewise. + * posix/wait4.c (__wait4): Likewise. + * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS) + (__WAIT_STATUS_DEFN): Remove. + (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED) + (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT. + * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc + argument. + * sysdeps/posix/wait.c (__libc_wait): Likewise. + * sysdeps/posix/wait3.c (__wait3): Likewise. + * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise. + * sysdeps/unix/bsd/wait3.c (__wait3): Likewise. + * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast. + * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the + stat_loc argument. + * manual/process.texi (BSD Wait Functions): Remove union wait. + 2016-04-13 Andreas Schwab <schwab@suse.de> * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o. |