summaryrefslogtreecommitdiffstats
path: root/old-configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-26 21:44:35 +0100
committerwm4 <wm4@nowhere>2015-02-26 21:44:35 +0100
commita22de99544af562ffa431ab4864b07ec3729088a (patch)
tree52a3de2768fda3182319c221b876644386561fa7 /old-configure
parent0035dbdbb8f33add8a83fa216a4e597de560ec48 (diff)
downloadmpv-a22de99544af562ffa431ab4864b07ec3729088a.tar.bz2
mpv-a22de99544af562ffa431ab4864b07ec3729088a.tar.xz
input: avoid creating world-writeable file with --input-unix-socket
This requires fchmod(), which is not necessarily available everywhere. It also might not work at all. (It does work on Linux.)
Diffstat (limited to 'old-configure')
-rwxr-xr-xold-configure1
1 files changed, 1 insertions, 0 deletions
diff --git a/old-configure b/old-configure
index 35af5117e6..2558985b03 100755
--- a/old-configure
+++ b/old-configure
@@ -972,6 +972,7 @@ cat > $TMPC << EOF
#define HAVE_BSD_THREAD_NAME 0
#define HAVE_NETBSD_THREAD_NAME 0
#define HAVE_DXVA2_HWACCEL 0
+#define HAVE_FCHMOD 0
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"