[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6269] trap builtin portability
From: |
Gavin D. Smith |
Subject: |
[6269] trap builtin portability |
Date: |
Sun, 17 May 2015 08:49:37 +0000 |
Revision: 6269
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6269
Author: gavin
Date: 2015-05-17 08:49:36 +0000 (Sun, 17 May 2015)
Log Message:
-----------
trap builtin portability
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/t/Init-test.inc
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-05-17 08:24:39 UTC (rev 6268)
+++ trunk/ChangeLog 2015-05-17 08:49:36 UTC (rev 6269)
@@ -2,6 +2,10 @@
* info/t/Init-inter.inc: Copy shell portability code for "local"
builtin from util/texi2dvi.
+ * init/t/Init-test.inc: Use "2" as argument to "trap" instead of
+ "SIGINT" for portability to Solaris, among others.
+ (Automated build report via Dagobert Michelsen and
+ platform-testers.)
2015-05-16 Gavin Smith <address@hidden>
Modified: trunk/info/t/Init-test.inc
===================================================================
--- trunk/info/t/Init-test.inc 2015-05-17 08:24:39 UTC (rev 6268)
+++ trunk/info/t/Init-test.inc 2015-05-17 08:49:36 UTC (rev 6269)
@@ -57,8 +57,8 @@
TERM=dumb; export TERM
# Clean up if the test is interrupted, for example if the user types
-# C-c, to avoid lingering child processes.
-trap cleanup SIGINT
+# C-c, to avoid lingering child processes. Signal 2 is SIGINT.
+trap cleanup 2
# Cleanup and exit
cleanup ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6269] trap builtin portability,
Gavin D. Smith <=