[FFmpeg-devel] [PATCH] configure: simplify exit traps
Janne Grunau
janne-ffmpeg
Fri Jan 21 21:46:14 CET 2011
On Fri, Jan 21, 2011 at 07:05:16PM +0000, Mans Rullgard wrote:
> This does the same thing and also fixes the trapping in
> some (possibly broken) shells.
>
> Suggested by Michael Kostylev.
>
> Signed-off-by: Mans Rullgard <mans at mansr.com>
> ---
> configure | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index aa05979..0f1c62d 100755
> --- a/configure
> +++ b/configure
> @@ -1810,7 +1810,6 @@ tmpfile(){
> }
>
> trap 'rm -f -- $TMPFILES' EXIT
> -trap exit HUP INT TERM
>
> tmpfile TMPC .c
> tmpfile TMPE $EXESUF
ok
Janne
More information about the ffmpeg-devel
mailing list