evpobr
58737ceb48
tests: Fixes for MSVC
...
* src/test_main.c: Fix undeclared off_t type with MSVC
* tests/misc_test.c: Fix undefined S_ISCHR & S_ISBLK with MSVC
* tests/stdin_test.c: Fix undefined STDIN_FILENO with MSVC
* tests/win32_ordinal_test.c: Fix undeclared getcwd() with MSVC
* Fix missing unistd.h under Win32
Related: https://github.com/erikd/libsndfile/issues/154
2017-04-14 13:03:27 +10:00
Erik de Castro Lopo
6bbd5a9caf
tests: Don't use /tmp for temporary files
...
When the program is run under American Fuzzy Lop, writing to
/tmp/ fails.
2017-03-26 13:04:51 +11:00
Erik de Castro Lopo
3b45c061d2
src/sndfile.c: Check return of write_header()
...
For some formats (like FLAC) the headers are written *just* before
the first bit of audio data. Until now, there was not check for that
the header write function returned zero.
Test included.
2017-01-30 21:48:56 +11:00
Erik de Castro Lopo
95828ca2e9
Rename EXTERNAL_*
to EXTERNAL_XIPH_*`
...
New naming makes sense because adding Wavpack support would not
depend on any of the existing Xiph.Org libraries.
2016-03-14 08:17:45 +11:00
Erik de Castro Lopo
f209698448
Update copyright dates.
2011-01-19 21:36:56 +11:00
Erik de Castro Lopo
a38e0b105e
Update copyright notices.
2009-02-07 15:20:17 +11:00
Erik de Castro Lopo
7c39404d87
tests/external_libs_test.c : Add new test and hook into build and test suite.
2008-05-21 20:55:53 +10:00