components/tcsh/patches/007.heredoc.patch
changeset 7912 1d7536fc48b3
parent 7911 5fa77fa8c6ed
child 7913 bb445390447b
--- a/components/tcsh/patches/007.heredoc.patch	Tue Apr 04 05:15:38 2017 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-Developed in-house but accepted upstream.
-
---- tcsh-6.19.00/sh.sem.c.orig	Sat Oct 31 10:58:21 2015
-+++ tcsh-6.19.00/sh.sem.c	Sat Oct 31 10:59:42 2015
-@@ -212,8 +212,14 @@
- 	 * If noexec then this is all we do.
- 	 */
- 	if (t->t_dflg & F_READ) {
-+	    int	old_pintr_disabled;
-+	    
- 	    xclose(0);
-+	    if (setintr)
-+	        pintr_push_enable(&old_pintr_disabled);
- 	    heredoc(t->t_dlef);
-+	    if (setintr)
-+	        cleanup_until(&old_pintr_disabled);
- 	    if (noexec)
- 		xclose(0);
- 	}