Mercurial > gnulib
view DEPENDENCIES @ 17344:aea18ef5eadd
execute: drop dead code
On several platforms, I noticed this compile warning:
gcc -DHAVE_CONFIG_H -I. -I../../gllib -I.. -DGNULIB_STRICT_CHECKING=1 -Wall -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o ../../gllib/execute.c
../../gllib/execute.c:64:1: warning: ‘nonintr_close’ defined but not used [-Wunused-function]
../../gllib/execute.c:77:1: warning: ‘nonintr_open’ defined but not used [-Wunused-function]
The warning first surfaced when commit bdaf232 (Nov 2012) finally
pointed out that these wrappers were no longer needed on posix-y
systems, although the code has been unused since commit d629f6d
(Jan 2009) which removed all use of open()/close() in favor of
posix_spawn() instead. The only platform remaining where the
wrappers are used (and no warnings issued) is mingw, but according
to Microsoft's documentation [1] at the time of this patch, mingw's
libc never fails open or close with EINTR; not to mention the fact
that the documentation of the wrapper mentions it is primarily
useful for SIGSTOP, a concept not present on mingw.
[1]http://msdn.microsoft.com/en-us/library/z0kc8e3z%28v=vs.80%29.aspx
* lib/execute.c (nonintr_close, nonintr_open): Delete.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Tue, 05 Mar 2013 12:46:20 -0700 |
parents | 579368b4bb16 |
children | 326ae329c003 |
line wrap: on
line source
The following packages are needed by maintainers for using 'gnulib-tool'. In general, Gnulib prefers the latest stable version of each package, but in some cases it also supports older versions; this caters to commonly-used software distributions that may lag behind the latest stable package. Support for older versions is not guaranteed, though, and the version numbers in the following list may be incremented at any time. * A C runtime, compiler, linker, etc. + Mandatory. Using the platform's native 'cc' gives good portability exposure, but you can also use GCC 2.95 or newer. + GCC Homepage: http://gcc.gnu.org/ + Download: http://ftp.gnu.org/gnu/gcc/ ftp://ftp.gnu.org/gnu/gcc/ * A 'make' utility. + Mandatory. Using the platform's native 'make' gives good portability exposure for in-tree builds, but VPATH builds require GNU Make 3.79.1 or newer. + GNU Make Homepage: http://www.gnu.org/software/make/ + Download: http://ftp.gnu.org/gnu/make/ ftp://ftp.gnu.org/gnu/make/ * GNU M4 1.4.5 or newer. + 1.4.5 or newer is mandatory, but 1.4.9 or newer is recommended. + Homepage: http://www.gnu.org/software/m4/ + Download: http://ftp.gnu.org/gnu/m4/ ftp://ftp.gnu.org/gnu/m4/ * Autoconf 2.59 or newer. + Mandatory. + Homepage: http://www.gnu.org/software/autoconf/ + Download: http://ftp.gnu.org/gnu/autoconf/ ftp://ftp.gnu.org/gnu/autoconf/ * Automake 1.9.6 or newer. + Mandatory. + Homepage: http://www.gnu.org/software/automake/ + Download: http://ftp.gnu.org/gnu/automake/ ftp://ftp.gnu.org/gnu/automake/ * A shell + Mandatory. Using the platform's native 'sh' gives good portability exposure, but you can also use Bash. + Homepage: http://www.gnu.org/software/bash/ + Download: http://ftp.gnu.org/gnu/bash/ ftp://ftp.gnu.org/gnu/bash/ * Core POSIX utilities, including: [ basename cat chgrp chmod chown cp dd echo expand expr false hostname install kill ln ls md5sum mkdir mkfifo mknod mv printenv pwd rm rmdir sleep sort tee test touch true uname + Mandatory. Using the platform's native utilities gives good portability exposure, but you can also use GNU coreutils. + Homepage: http://www.gnu.org/software/coreutils/ + Download: http://ftp.gnu.org/gnu/coreutils/ ftp://ftp.gnu.org/gnu/coreutils/ * The comparison utilities 'cmp' and 'diff'. + Mandatory. Using the platform's native utilities gives good portability exposure, but you can also use GNU diffutils. + Homepage: http://www.gnu.org/software/diffutils/ + Download: http://ftp.gnu.org/gnu/diffutils/ ftp://ftp.gnu.org/gnu/diffutils/ * The patch utility 'patch'. + Mandatory if you use gnulib-local diffs. Using the platform's native utilities gives good portability exposure, but you can also use GNU patch. + Homepage: http://www.gnu.org/software/patch/ + Download: http://ftp.gnu.org/gnu/patch/ ftp://ftp.gnu.org/gnu/patch/ * Grep. + Mandatory. Using the platform's native grep gives good portability exposure, but you can also use GNU grep. + Homepage: http://www.gnu.org/software/grep/ + Download: http://ftp.gnu.org/gnu/grep/ ftp://ftp.gnu.org/gnu/grep/ * GNU gettext. + If your project wants to follow GNU Coding Standards: + Always use the newest available gettext release, see <http://www.gnu.org/software/gnulib/manual/html_node/gettextize-and-autopoint.html>. + Use the 'gettext' module. + If your project cares more about ease of development on older platforms: + gettext 0.17 or newer. + Use the 'gettext-h' module. + Recommended. Needed if you use modules that use internationalization (many do). + Homepage: http://www.gnu.org/software/gettext/ + Download: http://ftp.gnu.org/gnu/gettext/ ftp://ftp.gnu.org/gnu/gettext/ * Bison 2.0 or newer. + Recommended. Needed if you use the 'parse-datetime' module. + Homepage: http://www.gnu.org/software/bison/ + Download: http://ftp.gnu.org/gnu/bison/ ftp://ftp.gnu.org/gnu/bison/ * GNU gperf 3.0.1 or newer. + Recommended. Needed if you use the 'iconv_open' module. + Homepage: http://www.gnu.org/software/gperf/ + Download: http://ftp.gnu.org/gnu/gperf/ ftp://ftp.gnu.org/gnu/gperf/ * Texinfo 4.6 or newer. + Recommended. Needed if you use modules that include documentation. + Homepage: http://www.gnu.org/software/texinfo/ + Download: http://ftp.gnu.org/gnu/texinfo/ ftp://ftp.gnu.org/gnu/texinfo/ * GNU sed. + Recommended. Needed on platforms where the vendor's 'sed' program is too buggy. + Homepage: http://www.gnu.org/software/sed/ + Download: http://ftp.gnu.org/gnu/sed/ ftp://ftp.gnu.org/gnu/sed/ * GNU libtool 1.5.22 or newer. + Optional. Needed if you want to invoke gnulib-tool with option --libtool. libtool 2.2.x or newer is needed if you want to invoke gnulib-tool with options --create-testdir/--test and --libtool. + Homepage: http://www.gnu.org/software/libtool/ + Download: http://ftp.gnu.org/gnu/libtool/ ftp://ftp.gnu.org/gnu/libtool/