This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 1cf582b00ce14b6c8639e62a154497066f2c3bf6 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun Jul 19 12:18:50 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Wed Jul 22 14:52:57 2026 +0200 configure: Remove unused check_exec_crash Unused since 65c6383f899be853e6bed30797909073956e4745. Signed-off-by: Andreas Rheinhardt <[email protected]> --- configure | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/configure b/configure index dc5192cc91..63164fa54a 100755 --- a/configure +++ b/configure @@ -1696,37 +1696,6 @@ test_exec(){ test_ld "cc" "$@" && { enabled cross_compile || $TMPE >> $logfile 2>&1; } } -check_exec_crash(){ - log check_exec_crash "$@" - code=$(cat) - - # exit() is not async signal safe. _Exit (C99) and _exit (POSIX) - # are safe but may not be available everywhere. Thus we use - # raise(SIGTERM) instead. The check is run in a subshell so we - # can redirect the "Terminated" message from the shell. SIGBUS - # is not defined by standard C so it is used conditionally. - - (test_exec "$@") >> $logfile 2>&1 <<EOF -#include <signal.h> -static void sighandler(int sig){ - raise(SIGTERM); -} -int foo(void){ - $code -} -int (*func_ptr)(void) = foo; -int main(void){ - signal(SIGILL, sighandler); - signal(SIGFPE, sighandler); - signal(SIGSEGV, sighandler); -#ifdef SIGBUS - signal(SIGBUS, sighandler); -#endif - return func_ptr(); -} -EOF -} - check_type(){ log check_type "$@" headers=$1 _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
