diff options
author | Bruno Haible <bruno@clisp.org> | 2020-11-26 22:13:20 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-11-26 22:13:20 +0100 |
commit | 90e79512d8b385801218d6e9c4d88ff77186560b (patch) | |
tree | e2803bc28355c888313b8aaa1d6f9c7d43b89fe2 | |
parent | a6d9eef5cacdc110bc3f03d379dff52434048e8e (diff) | |
download | gnulib-90e79512d8b385801218d6e9c4d88ff77186560b.tar.gz gnulib-90e79512d8b385801218d6e9c4d88ff77186560b.tar.bz2 |
Fix dependencies of modules that use '_exit' on native Windows.
Reported by Jim Meyering in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-11/msg00159.html>.
* modules/_Exit (Depends-on): Add unistd.
* modules/closein (Depends-on): Likewise.
* modules/closeout (Depends-on): Likewise.
* modules/forkpty (Depends-on): Likewise.
* modules/posix_spawn-internal (Depends-on): Likewise.
* modules/savewd (Depends-on): Likewise.
* modules/stat-time-tests (Depends-on): Likewise.
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | modules/_Exit | 1 | ||||
-rw-r--r-- | modules/closein | 1 | ||||
-rw-r--r-- | modules/closeout | 1 | ||||
-rw-r--r-- | modules/forkpty | 1 | ||||
-rw-r--r-- | modules/posix_spawn-internal | 1 | ||||
-rw-r--r-- | modules/savewd | 1 | ||||
-rw-r--r-- | modules/stat-time-tests | 1 |
8 files changed, 20 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2020-11-26 Bruno Haible <bruno@clisp.org> + Fix dependencies of modules that use '_exit' on native Windows. + Reported by Jim Meyering in + <https://lists.gnu.org/archive/html/bug-gnulib/2020-11/msg00159.html>. + * modules/_Exit (Depends-on): Add unistd. + * modules/closein (Depends-on): Likewise. + * modules/closeout (Depends-on): Likewise. + * modules/forkpty (Depends-on): Likewise. + * modules/posix_spawn-internal (Depends-on): Likewise. + * modules/savewd (Depends-on): Likewise. + * modules/stat-time-tests (Depends-on): Likewise. + +2020-11-26 Bruno Haible <bruno@clisp.org> + raise-tests: Fix compilation error on MSVC (regression 2020-11-25). * modules/raise-tests (Depends-on): Add unistd. * doc/posix-functions/_exit.texi: Mention the 'unistd' module. diff --git a/modules/_Exit b/modules/_Exit index 179a02b100..cefebdccd5 100644 --- a/modules/_Exit +++ b/modules/_Exit @@ -7,6 +7,7 @@ m4/_Exit.m4 Depends-on: stdlib +unistd configure.ac: gl_FUNC__EXIT diff --git a/modules/closein b/modules/closein index 6a34d83bb6..f0c1287ba5 100644 --- a/modules/closein +++ b/modules/closein @@ -10,6 +10,7 @@ closeout freadahead fflush stdbool +unistd configure.ac: diff --git a/modules/closeout b/modules/closeout index e51489f8bc..32fd9236d0 100644 --- a/modules/closeout +++ b/modules/closeout @@ -12,6 +12,7 @@ error quotearg exitfail stdbool +unistd configure.ac: diff --git a/modules/forkpty b/modules/forkpty index b04a4dadeb..fdf5fe4fbd 100644 --- a/modules/forkpty +++ b/modules/forkpty @@ -8,6 +8,7 @@ m4/pty.m4 Depends-on: pty +unistd openpty login_tty diff --git a/modules/posix_spawn-internal b/modules/posix_spawn-internal index a0b57fae2b..920b4c4ead 100644 --- a/modules/posix_spawn-internal +++ b/modules/posix_spawn-internal @@ -14,6 +14,7 @@ errno open sh-filename strchrnul +unistd configure.ac: gl_POSIX_SPAWN diff --git a/modules/savewd b/modules/savewd index 198596ef67..a0ea64fe6e 100644 --- a/modules/savewd +++ b/modules/savewd @@ -20,6 +20,7 @@ raise stdbool stdlib sys_wait +unistd xalloc configure.ac: diff --git a/modules/stat-time-tests b/modules/stat-time-tests index c512eca76c..8db2369513 100644 --- a/modules/stat-time-tests +++ b/modules/stat-time-tests @@ -7,6 +7,7 @@ Depends-on: intprops nanosleep time +unistd configure.ac: |