diff options
author | joerg <joerg@FreeBSD.org> | 1995-08-27 20:26:44 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-08-27 20:26:44 +0000 |
commit | 3de11c3b09cdec723b035bb30b7c9dd56e6a63fe (patch) | |
tree | aa25560c1b49997e050627ed8fb344509e6d8e8e /bin/sh/shell.h | |
parent | 036808c79be581b38c4def1672d9fe425496c53b (diff) | |
download | FreeBSD-src-3de11c3b09cdec723b035bb30b7c9dd56e6a63fe.zip FreeBSD-src-3de11c3b09cdec723b035bb30b7c9dd56e6a63fe.tar.gz |
Make the shell handle a null command in a &&/|| sequence correctly.
The && and || tokens do also terminate a command, not only the
newline.
While i was at it, disabled trace code by default, it served no good
purpose since it required the use of a debugger anyway to be turned
on. Instead, placed a hint in the Makefile on how to turn it on.
This makes the shell ~ 10 % faster and ~ 4 KB smaller. :)
Pointed out by: jan@physik.TU-Berlin.DE (Jan Riedinger)
Diffstat (limited to 'bin/sh/shell.h')
-rw-r--r-- | bin/sh/shell.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/shell.h b/bin/sh/shell.h index ec49ef9..d038f91 100644 --- a/bin/sh/shell.h +++ b/bin/sh/shell.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)shell.h 8.1 (Berkeley) 5/31/93 - * $Id$ + * $Id: shell.h,v 1.2 1994/09/24 02:58:15 davidg Exp $ */ /* @@ -57,7 +57,7 @@ #ifndef BSD #define BSD 1 #endif -#define DEBUG 1 +/* #define DEBUG 1 */ #ifdef __STDC__ typedef void *pointer; |