bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] exit: drop remaining clients


From: Eric Blake
Subject: [PATCH] exit: drop remaining clients
Date: Mon, 2 May 2011 12:03:38 -0600

Anyone using EXIT_FAILURE needs to depend on stdlib, now that
the exit module is gone.

* modules/argmatch (Depends-on): Replace exit with stdlib.
* modules/copy-file (Depends-on): Likewise.
* modules/execute (Depends-on): Likewise.
* modules/exitfail (Depends-on): Likewise.
* modules/obstack (Depends-on): Likewise.
* modules/pagealign_alloc (Depends-on): Likewise.
* modules/pipe-filter-gi (Depends-on): Likewise.
* modules/pipe-filter-ii (Depends-on): Likewise.
* modules/savewd (Depends-on): Likewise.
* modules/spawn-pipe (Depends-on): Likewise.
* modules/wait-process (Depends-on): Likewise.
* modules/xsetenv (Depends-on): Likewise.
* modules/chdir-long (Depends-on): Add stdlib, for EXIT_FAILURE.
* modules/git-merge-changelog (Depends-on): Likewise.
* modules/long-options (Depends-on): Likewise.
* modules/pt_chown (Depends-on): Likewise.
* modules/sysexits (Depends-on): Likewise.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog                   |   19 +++++++++++++++++++
 modules/argmatch            |    2 +-
 modules/chdir-long          |    1 +
 modules/copy-file           |    2 +-
 modules/execute             |    2 +-
 modules/exitfail            |    2 +-
 modules/git-merge-changelog |    1 +
 modules/long-options        |    1 +
 modules/obstack             |    2 +-
 modules/pagealign_alloc     |    2 +-
 modules/pipe-filter-gi      |    2 +-
 modules/pipe-filter-ii      |    2 +-
 modules/pt_chown            |    1 +
 modules/savewd              |    2 +-
 modules/spawn-pipe          |    2 +-
 modules/sysexits            |    1 +
 modules/wait-process        |    2 +-
 modules/xsetenv             |    2 +-
 18 files changed, 36 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4999be2..d6ac179 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,24 @@
 2011-05-02  Eric Blake  <address@hidden>

+       exit: drop remaining clients
+       * modules/argmatch (Depends-on): Replace exit with stdlib.
+       * modules/copy-file (Depends-on): Likewise.
+       * modules/execute (Depends-on): Likewise.
+       * modules/exitfail (Depends-on): Likewise.
+       * modules/obstack (Depends-on): Likewise.
+       * modules/pagealign_alloc (Depends-on): Likewise.
+       * modules/pipe-filter-gi (Depends-on): Likewise.
+       * modules/pipe-filter-ii (Depends-on): Likewise.
+       * modules/savewd (Depends-on): Likewise.
+       * modules/spawn-pipe (Depends-on): Likewise.
+       * modules/wait-process (Depends-on): Likewise.
+       * modules/xsetenv (Depends-on): Likewise.
+       * modules/chdir-long (Depends-on): Add stdlib, for EXIT_FAILURE.
+       * modules/git-merge-changelog (Depends-on): Likewise.
+       * modules/long-options (Depends-on): Likewise.
+       * modules/pt_chown (Depends-on): Likewise.
+       * modules/sysexits (Depends-on): Likewise.
+
        freading: relax license from LGPLv3+ to LGPLv2+
        * modules/freading (License): Relax LGPL version.

diff --git a/modules/argmatch b/modules/argmatch
index 0dd643c..c322597 100644
--- a/modules/argmatch
+++ b/modules/argmatch
@@ -11,10 +11,10 @@ gettext-h
 error
 quotearg
 quote
-exit
 exitfail
 verify
 stdbool
+stdlib
 memcmp

 configure.ac:
diff --git a/modules/chdir-long b/modules/chdir-long
index 4025b45..eb08151 100644
--- a/modules/chdir-long
+++ b/modules/chdir-long
@@ -15,6 +15,7 @@ memchr
 mempcpy
 memrchr
 stdbool
+stdlib

 configure.ac:
 gl_FUNC_CHDIR_LONG
diff --git a/modules/copy-file b/modules/copy-file
index 6941e5a..4ca553e 100644
--- a/modules/copy-file
+++ b/modules/copy-file
@@ -10,11 +10,11 @@ Depends-on:
 acl
 binary-io
 error
-exit
 full-write
 gettext-h
 open
 safe-read
+stdlib
 unistd
 xalloc

diff --git a/modules/execute b/modules/execute
index 755e3e5..a65696b 100644
--- a/modules/execute
+++ b/modules/execute
@@ -11,7 +11,6 @@ Depends-on:
 cloexec
 dup2
 error
-exit
 fatal-signal
 wait-process
 gettext-h
@@ -25,6 +24,7 @@ posix_spawnattr_setsigmask
 posix_spawnattr_setflags
 posix_spawnattr_destroy
 stdbool
+stdlib
 strpbrk
 unistd
 environ
diff --git a/modules/exitfail b/modules/exitfail
index 641f99d..0dd3ec6 100644
--- a/modules/exitfail
+++ b/modules/exitfail
@@ -6,7 +6,7 @@ lib/exitfail.h
 lib/exitfail.c

 Depends-on:
-exit
+stdlib

 configure.ac:

diff --git a/modules/git-merge-changelog b/modules/git-merge-changelog
index d0e2ad0..857a8bc 100644
--- a/modules/git-merge-changelog
+++ b/modules/git-merge-changelog
@@ -7,6 +7,7 @@ lib/git-merge-changelog.c
 Depends-on:
 getopt-gnu
 stdbool
+stdlib
 progname
 error
 read-file
diff --git a/modules/long-options b/modules/long-options
index 29bf734..207610c 100644
--- a/modules/long-options
+++ b/modules/long-options
@@ -8,6 +8,7 @@ m4/long-options.m4

 Depends-on:
 getopt-gnu
+stdlib
 version-etc

 configure.ac:
diff --git a/modules/obstack b/modules/obstack
index af12846..bceecdc 100644
--- a/modules/obstack
+++ b/modules/obstack
@@ -7,9 +7,9 @@ lib/obstack.c

 Depends-on:
 gettext-h
-exit
 exitfail
 stdint
+stdlib

 configure.ac:
 AC_FUNC_OBSTACK
diff --git a/modules/pagealign_alloc b/modules/pagealign_alloc
index 5972aa1..357a335 100644
--- a/modules/pagealign_alloc
+++ b/modules/pagealign_alloc
@@ -9,10 +9,10 @@ m4/pagealign_alloc.m4

 Depends-on:
 error
-exit
 extensions
 getpagesize
 gettext-h
+stdlib
 xalloc
 unistd

diff --git a/modules/pipe-filter-gi b/modules/pipe-filter-gi
index f2e6fc0..ac56c60 100644
--- a/modules/pipe-filter-gi
+++ b/modules/pipe-filter-gi
@@ -10,11 +10,11 @@ Depends-on:
 spawn-pipe
 wait-process
 error
-exit
 fcntl-h
 gettext-h
 stdbool
 stdint
+stdlib
 sys_select
 unistd

diff --git a/modules/pipe-filter-ii b/modules/pipe-filter-ii
index 5f7d05b..faa4e1a 100644
--- a/modules/pipe-filter-ii
+++ b/modules/pipe-filter-ii
@@ -10,11 +10,11 @@ Depends-on:
 spawn-pipe
 wait-process
 error
-exit
 fcntl-h
 gettext-h
 stdbool
 stdint
+stdlib
 sys_select
 unistd

diff --git a/modules/pt_chown b/modules/pt_chown
index b861331..0002ab7 100644
--- a/modules/pt_chown
+++ b/modules/pt_chown
@@ -7,6 +7,7 @@ lib/pty-private.h

 Depends-on:
 ptsname
+stdlib

 configure.ac:

diff --git a/modules/savewd b/modules/savewd
index 1f32372..1e95b41 100644
--- a/modules/savewd
+++ b/modules/savewd
@@ -9,12 +9,12 @@ m4/savewd.m4
 Depends-on:
 dosname
 errno
-exit
 fchdir
 fcntl-safer
 fcntl-h
 raise
 stdbool
+stdlib
 xalloc

 configure.ac:
diff --git a/modules/spawn-pipe b/modules/spawn-pipe
index 04441b1..9898b37 100644
--- a/modules/spawn-pipe
+++ b/modules/spawn-pipe
@@ -12,7 +12,6 @@ cloexec
 dup2
 environ
 error
-exit
 fatal-signal
 gettext-h
 open
@@ -30,6 +29,7 @@ posix_spawnattr_setsigmask
 posix_spawnattr_setflags
 posix_spawnattr_destroy
 stdbool
+stdlib
 strpbrk
 unistd
 unistd-safer
diff --git a/modules/sysexits b/modules/sysexits
index ed0d488..5f6896a 100644
--- a/modules/sysexits
+++ b/modules/sysexits
@@ -7,6 +7,7 @@ m4/sysexits.m4

 Depends-on:
 include_next
+stdlib

 configure.ac:
 gl_SYSEXITS
diff --git a/modules/wait-process b/modules/wait-process
index 9120bbc..afc8854 100644
--- a/modules/wait-process
+++ b/modules/wait-process
@@ -10,10 +10,10 @@ m4/sig_atomic_t.m4
 Depends-on:
 fatal-signal
 error
-exit
 xalloc
 gettext-h
 stdbool
+stdlib
 sys_wait
 unistd
 atexit
diff --git a/modules/xsetenv b/modules/xsetenv
index 29319f1..66c1c4c 100644
--- a/modules/xsetenv
+++ b/modules/xsetenv
@@ -10,8 +10,8 @@ Depends-on:
 setenv
 unsetenv
 error
-exit
 gettext-h
+stdlib

 configure.ac:

-- 
1.7.4.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]