[vlc-commits] Fail when calling vlc_pipe in Windows Store App mode
Jean-Baptiste Kempf
git at videolan.org
Mon Mar 25 17:54:35 CET 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Mar 25 17:53:43 2013 +0100| [503b1ff71b1bd1d1bd4e6b349a322719d4707d68] | committer: Jean-Baptiste Kempf
Fail when calling vlc_pipe in Windows Store App mode
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=503b1ff71b1bd1d1bd4e6b349a322719d4707d68
---
src/win32/filesystem.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/win32/filesystem.c b/src/win32/filesystem.c
index a96c8a3..7758123 100644
--- a/src/win32/filesystem.c
+++ b/src/win32/filesystem.c
@@ -240,7 +240,12 @@ int vlc_dup (int oldfd)
int vlc_pipe (int fds[2])
{
+#ifdef WINAPI_FAMILY_APP
+ _set_errno(EPERM);
+ return -1;
+#else
return _pipe (fds, 32768, O_NOINHERIT | O_BINARY);
+#endif
}
#include <vlc_network.h>
More information about the vlc-commits
mailing list