From: Eric Blake Date: Mon, 2 May 2011 17:59:00 +0000 (-0600) Subject: exit: drop remaining clients X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fc0aa38149cc8d1b35537c56ea5d0b83eadcf56;p=pspp exit: drop remaining clients 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 --- diff --git a/ChangeLog b/ChangeLog index 4999be22b8..d6ac179d9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,24 @@ 2011-05-02 Eric Blake + 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 0dd643cdfb..c3225976d6 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 4025b45afc..eb08151d63 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 6941e5a8e4..4ca553e302 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 755e3e5b6d..a65696bb53 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 641f99d1be..0dd3ec6897 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 d0e2ad02f2..857a8bc5b2 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 29bf734dc0..207610c63d 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 af12846b95..bceecdc64c 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 5972aa152d..357a335197 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 f2e6fc032c..ac56c60f3d 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 5f7d05b9de..faa4e1a6fb 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 b861331d2a..0002ab79a8 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 1f32372849..1e95b4127d 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 04441b1a4e..9898b37598 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 ed0d488666..5f6896a586 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 9120bbcf0a..afc8854220 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 29319f1223..66c1c4c373 100644 --- a/modules/xsetenv +++ b/modules/xsetenv @@ -10,8 +10,8 @@ Depends-on: setenv unsetenv error -exit gettext-h +stdlib configure.ac: