1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-20 11:01:20 +03:00
Commit Graph

4 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
Bruno Haible
8dccbc6243 binary-io tests: Avoid test failure on mingw when libtool is used.
* tests/test-binary-io.c (main): Don't remove t-bin-out2.tmp here.
Don't verify the size of t-bin-out1.tmp here.
* tests/test-binary-io.sh: Verify it here.
Reported by Simon Josefsson.
2011-11-27 15:54:08 +01:00
Bruno Haible
dd5adad1a7 Choose better temporary filenames. 2007-03-11 00:51:51 +00:00
Bruno Haible
d33bbb6dcc Test for the binary-io module. 2007-01-14 21:31:03 +00:00