X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=ncurses%2Ftty%2FMKexpanded.sh;h=0072be2cd35d55f30a2633a26b6ef4bab54679bd;hb=bd2d9c5734d2c66abe0b2ddd766695b200c154fe;hp=65c6b93e46274e12f1131abcfb032b7899973b16;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280;p=ncurses.git diff --git a/ncurses/tty/MKexpanded.sh b/ncurses/tty/MKexpanded.sh index 65c6b93e..0072be2c 100755 --- a/ncurses/tty/MKexpanded.sh +++ b/ncurses/tty/MKexpanded.sh @@ -1,6 +1,6 @@ #! /bin/sh ############################################################################## -# Copyright 2019,2020 Thomas E. Dickey # +# Copyright 2019-2020,2021 Thomas E. Dickey # # Copyright 1998-2015,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # @@ -30,7 +30,7 @@ # # Author: Thomas E. Dickey, 1997-on # -# $Id: MKexpanded.sh,v 1.22 2020/02/02 23:34:34 tom Exp $ +# $Id: MKexpanded.sh,v 1.24 2022/02/05 17:27:18 tom Exp $ # # Script to generate 'expanded.c', a dummy source that contains functions # corresponding to complex macros used in this library. By making functions, @@ -49,7 +49,8 @@ else fi TMP=gen$$.c -trap "rm -f $TMP" EXIT INT QUIT TERM HUP +trap "rm -f $TMP; exit 1" 1 2 3 15 +trap "rm -f $TMP" 0 cat <