[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GMAKE 3.81 vs GMAKE 4.2
From: |
Paul Smith |
Subject: |
Re: GMAKE 3.81 vs GMAKE 4.2 |
Date: |
Mon, 21 Oct 2019 14:34:40 -0400 |
On Mon, 2019-10-21 at 22:47 +0530, nikhil jain wrote:
> see this how it works in makefile. It is part of the target -
>
> bash-4.1$ cat Makefile
> a1:
> trap 'USER_INT=1; /bin/echo "terminating, please wait...."' INT; \
> sleep 100
>
> bash-4.1$ make
> trap 'USER_INT=1; /bin/echo "terminating, please wait...."' INT; \
> sleep 100
> ^Cterminating, please wait....
> make: *** [a1] Error 130
>
> see this ? When make was executing sleep 100 , I gave ctrl+c and got
> my message " terminating, please wait". It did not go to
> fatal_error_signal at all.
It DID go to fatal_error_signal(). Why do you think it didn't? Just
because your trap was called doesn't mean that make didn't catch the
signal.
- Re: GMAKE 3.81 vs GMAKE 4.2, (continued)
- Re: GMAKE 3.81 vs GMAKE 4.2, Paul Smith, 2019/10/05
- Re: GMAKE 3.81 vs GMAKE 4.2, nikhil jain, 2019/10/20
- Re: GMAKE 3.81 vs GMAKE 4.2, Paul Smith, 2019/10/20
- Re: GMAKE 3.81 vs GMAKE 4.2, nikhil jain, 2019/10/21
- Re: GMAKE 3.81 vs GMAKE 4.2, Paul Smith, 2019/10/21
- Re: GMAKE 3.81 vs GMAKE 4.2, nikhil jain, 2019/10/21
- Re: GMAKE 3.81 vs GMAKE 4.2, Paul Smith, 2019/10/21
- Re: GMAKE 3.81 vs GMAKE 4.2, nikhil jain, 2019/10/21
- Re: GMAKE 3.81 vs GMAKE 4.2, Paul Smith, 2019/10/21
- Re: GMAKE 3.81 vs GMAKE 4.2, nikhil jain, 2019/10/21
- Re: GMAKE 3.81 vs GMAKE 4.2,
Paul Smith <=