1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

pipe2: decouple from binary-io a bit

This is for Emacs, which needs pipe2 but not binary-io.
* lib/pipe2.c [!GNULIB_BINARY_IO]: Don't include binary-io.h.
* modules/binary-io (Depends-on): Add module indicator.
This commit is contained in:
Paul Eggert
2013-07-06 01:35:26 -07:00
parent 612ef3f7ea
commit ab63a3d7bd
3 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
2013-07-06 Paul Eggert <eggert@cs.ucla.edu>
pipe2: decouple from binary-io a bit
This is for Emacs, which needs pipe2 but not binary-io.
* lib/pipe2.c [!GNULIB_BINARY_IO]: Don't include binary-io.h.
* modules/binary-io (Depends-on): Add module indicator.
2013-07-03 Eric Blake <eblake@redhat.com>
mgetgroups: relax license to LGPLv2+

View File

@@ -22,7 +22,10 @@
#include <errno.h>
#include <fcntl.h>
#include "binary-io.h"
#if GNULIB_BINARY_IO
# include "binary-io.h"
#endif
#include "verify.h"
#if GNULIB_defined_O_NONBLOCK

View File

@@ -10,6 +10,7 @@ extern-inline
fcntl-h
configure.ac:
gl_MODULE_INDICATOR([binary-io])
Makefile.am:
lib_SOURCES += binary-io.h binary-io.c