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

6 Commits

Author SHA1 Message Date
Bruno Haible
290f951644 binary-io: Define set_binary_mode function.
* lib/binary-io.h (set_binary_mode): New function.
(SET_BINARY): Define in terms of set_binary_mode.
* modules/binary-io (configure.ac): Require AC_C_INLINE.
* tests/test-binary-io.c (main): Accept an argument, and test either
set_binary_mode or SET_BINARY depending on the argument.
* tests/test-binary-io.sh: Invoke test-binary-io twice, with an
argument. Clean up also t-bin-out0.tmp.
2012-05-13 22:57:52 +02:00
Eric Blake
bd5d1e6211 binary-io: relicense under LGPLv2+
* modules/binary-io (License): Relax to LGPLv2+.
Requested for libvirt, and required by pipe2.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-04-06 14:33:24 -06:00
Eric Blake
52db424415 binary-io: fix O_TEXT on Haiku
* modules/binary-io (Depends-on): Add fcntl-h.
* lib/binary-io.h (O_TEXT): Rely on replacement <fcntl.h> rather
than blindly undefining O_TEXT.
Reported by Scott McCreary.

Signed-off-by: Eric Blake <eblake@redhat.com>
2011-01-19 06:18:00 -07:00
Bruno Haible
6397686ef1 Relicense under LGPL. 2009-08-23 02:43:53 +02:00
Bruno Haible
5143f4e91f Add a license tag to every module. 2004-09-22 15:11:04 +00:00
Bruno Haible
1375fc09dc New module 'binary-io'. 2003-04-02 10:57:23 +00:00