summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/tc.sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcsh/tc.sched.c')
-rw-r--r--contrib/tcsh/tc.sched.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/contrib/tcsh/tc.sched.c b/contrib/tcsh/tc.sched.c
index 577bc60..c8fab26 100644
--- a/contrib/tcsh/tc.sched.c
+++ b/contrib/tcsh/tc.sched.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/tc.sched.c,v 3.17 2000/07/04 19:46:23 christos Exp $ */
+/* $Header: /src/pub/tcsh/tc.sched.c,v 3.19 2002/03/08 17:36:47 christos Exp $ */
/*
* tc.sched.c: Scheduled command execution
*
@@ -16,11 +16,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -38,9 +34,10 @@
*/
#include "sh.h"
-RCSID("$Id: tc.sched.c,v 3.17 2000/07/04 19:46:23 christos Exp $")
+RCSID("$Id: tc.sched.c,v 3.19 2002/03/08 17:36:47 christos Exp $")
#include "ed.h"
+#include "tw.h"
#include "tc.h"
extern int just_signaled;
@@ -268,7 +265,7 @@ sched_run(n)
if (seterr)
stderror(ERR_OLD);
/* execute the parse tree. */
- execute(t, -1, NULL, NULL);
+ execute(t, -1, NULL, NULL, TRUE);
/* done. free the lex list and parse tree. */
freelex(&cmd), freesyn(t);
}
OpenPOWER on IntegriCloud