diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-08-18 22:34:57 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-08-18 22:34:57 +0400 |
commit | fd226e98a407b8c38e7a9fd289e222b110170ba9 (patch) | |
tree | fddf1d0b4bc6b1ecfc4c2237ad87a4aac4dc5be9 /newlib | |
parent | e9708d920c07914c671b45616d985b26d0abf0b3 (diff) |
2009-08-18 Eric Blake <ebb9@byu.net>
* libc/posix/popen.c (popen): Fix documented prototype.
Improve popen compatibility with glibc.
* libc/posix/popen.c (popen): The 2006-08-22 change to use
FD_CLOEXEC disagrees with other implementations; instead, use
pidlist to work even when fcntl is not available. Meanwhile,
support the 'e' modifier to set CLOEXEC, as in glibc. Drop
cygwin-specific code, now that cygwin has its own version.
* libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
* libc/posix/posix.tex: New file.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/posix/Makefile.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/newlib/libc/posix/Makefile.in b/newlib/libc/posix/Makefile.in index 79a0c64e3..c3dc0efd2 100644 --- a/newlib/libc/posix/Makefile.in +++ b/newlib/libc/posix/Makefile.in @@ -162,6 +162,8 @@ ENABLE_NEWLIB_ICONV_TRUE = @ENABLE_NEWLIB_ICONV_TRUE@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ +HAVE_LONG_DOUBLE_FALSE = @HAVE_LONG_DOUBLE_FALSE@ +HAVE_LONG_DOUBLE_TRUE = @HAVE_LONG_DOUBLE_TRUE@ HAVE_POSIX_DIR_FALSE = @HAVE_POSIX_DIR_FALSE@ HAVE_POSIX_DIR_TRUE = @HAVE_POSIX_DIR_TRUE@ HAVE_SIGNAL_DIR_FALSE = @HAVE_SIGNAL_DIR_FALSE@ @@ -319,7 +321,9 @@ libposix_la_LDFLAGS = -Xcompiler -nostdlib @USE_LIBTOOL_FALSE@noinst_LIBRARIES = lib.a @USE_LIBTOOL_FALSE@lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES) @USE_LIBTOOL_FALSE@lib_a_CFLAGS = $(AM_CFLAGS) -CHEWOUT_FILES = +CHEWOUT_FILES = \ + popen.def + SUFFIXES = .def CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str TARGETDOC = ../tmp.texi @@ -730,8 +734,8 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) $(CHEW) < $< > $*.def 2> $*.ref touch stmp-def -# No doc for posix. -doc: +doc: $(CHEWOUT_FILES) + cat $(srcdir)/posix.tex >> $(TARGETDOC) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |