1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
vlc/compat
Julian Scheel adb9c18776 compat: Add sigwait dummy for NaCl
Implement a sigwait dummy for NaCl, which relies on:
- NaCl does never send SIGPIPE to to apps (see
https://codereview.chromium.org/288063004/)
- VLC uses sigwait exclusively to wait for SIGPIPE

If sigwait is asked to wait for anything else than SIGPIPE it will run
into an assertion failure, so that breakage would not be silent.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-03-28 15:54:00 +02:00
..
test compat: test: Fix strnstr tests 2015-12-09 20:38:37 +01:00
.gitignore Make sure libcompat is never empty 2010-08-01 13:00:56 +03:00
asprintf.c LGPL 2011-11-27 22:54:33 +01:00
atof.c LGPL 2011-11-27 22:54:33 +01:00
atoll.c LGPL 2011-11-27 22:54:33 +01:00
dirfd.c Remove dirfd() hacks 2012-01-03 18:35:02 +02:00
fdopendir.c Remove inconsistently used HAVE_UNISTD_H 2013-12-29 16:15:46 +02:00
ffsll.c compat: ffsll use long long int as argument 2016-12-22 16:18:03 +01:00
flockfile.c newlib/nacl: Provide flockfile implementation 2017-03-23 18:53:25 +02:00
freeaddrinfo.c freeaddrinfo: rewrite as iterative 2014-11-22 11:20:24 +02:00
fsync.c Use _WIN32 rather than WIN32 (same for WIN64) 2013-06-05 16:06:10 +02:00
gai_strerror.c src: os2: move gai_strerror() to compat 2015-12-17 23:38:36 +02:00
getdelim.c LGPL 2011-11-27 22:54:33 +01:00
getpid.c Use _WIN32 rather than WIN32 (same for WIN64) 2013-06-05 16:06:10 +02:00
gettimeofday.c compat: gettimeofday: unused variable 2016-06-10 14:15:28 +02:00
gmtime_r.c gmtime_r: rewrite, now truly thread-safe 2012-04-16 23:26:25 +03:00
inet_pton.c compat: fix inet_pton declaration 2016-07-06 14:13:37 +02:00
lldiv.c LGPL 2011-11-27 22:54:33 +01:00
localtime_r.c localtime_r: fix Annex K usage 2015-06-26 18:00:24 +03:00
Makefile.am compat: Fix warning 2015-12-09 23:14:55 +01:00
memrchr.c memrchr: fix compilation 2016-07-17 22:40:28 +03:00
nrand48.c LGPL 2011-11-27 22:54:33 +01:00
poll.c compat: cancel association of network events before close 2015-07-20 20:37:15 +03:00
posix_memalign.c Use _WIN32 rather than WIN32 (same for WIN64) 2013-06-05 16:06:10 +02:00
realpath.c compat: add realpath used by test_media_subitems() 2016-10-10 23:53:55 +02:00
recvmsg.c compat: the official way to include WSA functions is with winsock2.h 2017-02-14 22:52:41 +01:00
rewind.c LGPL 2011-11-27 22:54:33 +01:00
sendmsg.c compat: the official way to include WSA functions is with winsock2.h 2017-02-14 22:52:41 +01:00
setenv.c LGPL 2011-11-27 22:54:33 +01:00
sigwait.c compat: Add sigwait dummy for NaCl 2017-03-28 15:54:00 +02:00
sincos.c compat: add sincos() and sincosf() replacements 2016-11-13 13:58:56 +02:00
strcasecmp.c LGPL 2011-11-27 22:54:33 +01:00
strcasestr.c LGPL 2011-11-27 22:54:33 +01:00
strdup.c LGPL 2011-11-27 22:54:33 +01:00
strlcpy.c LGPL 2011-11-27 22:54:33 +01:00
strndup.c LGPL 2011-11-27 22:54:33 +01:00
strnlen.c LGPL 2011-11-27 22:54:33 +01:00
strnstr.c Compat: remove trailing spaces 2016-01-23 14:47:51 +01:00
strsep.c LGPL 2011-11-27 22:54:33 +01:00
strtof.c LGPL 2011-11-27 22:54:33 +01:00
strtok_r.c LGPL 2011-11-27 22:54:33 +01:00
strtoll.c LGPL 2011-11-27 22:54:33 +01:00
strverscmp.c Add strverscmp from glibc 2.14.1 to compat. 2012-02-04 17:46:26 +01:00
swab.c LGPL 2011-11-27 22:54:33 +01:00
tfind.c compat: fix test for tree functions 2016-10-23 20:06:30 +03:00
timegm.c compat: remove 'const' from the prototype of timegm(). 2015-12-13 20:34:39 +02:00
timespec_get.c compat: missing #include 2015-12-10 19:55:18 +02:00
vasprintf.c vasprintf: missing #include 2015-07-06 22:50:25 +03:00