Revision b051a4b58008a6cf95b4ad6ec4c3b9e0be9bb9b1 authored by Jean-Baptiste Kempf on 03 March 2016, 12:21:30 UTC, committed by Jean-Baptiste Kempf on 05 March 2016, 21:40:57 UTC
On Android, for 64 bits, O_CLOEXEC is defined, accept4 exists, but not
mkostemp.

Therefore, in vlc_mkstemp we go to the fallback that calls vlc_cloexec,
but we don't define it, because we have accept4

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
1 parent 2e5cbf3
Raw File
make-alias
#! /bin/sh
# Interface alias build script for VLC
# Copyright © 2007 Rémi Denis-Courmont.

OUT="$1"
IFACE="$2"

cat > "$OUT.tmp" << EOF
#! /bin/sh
exec $bindir/`echo "$program_prefix"vlc"$program_suffix" | sed -e "$transform"` -I "$IFACE" "\$@"
EOF

chmod +x "$OUT.tmp"
mv -f -- "$OUT.tmp" "$OUT"
back to top