summaryrefslogtreecommitdiff
path: root/bin/pdksh
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-01 18:30:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-01 18:30:39 +0000
commita43ab78081569419e6c61ef03c154da56a667dd8 (patch)
tree9d27b3251a03c6298aa14827691ac2399227b0e5 /bin/pdksh
parent380f0870e4aafdd13a6050959648e2e735f2ea56 (diff)
i am bored enough to fix terminal space/tab uglies
Diffstat (limited to 'bin/pdksh')
-rw-r--r--bin/pdksh/lex.c4
-rw-r--r--bin/pdksh/main.c4
-rw-r--r--bin/pdksh/syn.c4
-rw-r--r--bin/pdksh/trap.c4
-rw-r--r--bin/pdksh/tree.c6
-rw-r--r--bin/pdksh/var.c10
6 files changed, 16 insertions, 16 deletions
diff --git a/bin/pdksh/lex.c b/bin/pdksh/lex.c
index 40469fdd3e3..4be7b5e5e53 100644
--- a/bin/pdksh/lex.c
+++ b/bin/pdksh/lex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.c,v 1.8 1997/08/05 21:49:55 grr Exp $ */
+/* $OpenBSD: lex.c,v 1.9 1997/09/01 18:30:08 deraadt Exp $ */
/*
* lexical analysis and source input
@@ -62,7 +62,7 @@ yylex(cf)
#ifdef KSH
else if (cf&LETEXPR) {
*wp++ = OQUOTE; /* enclose arguments in (double) quotes */
- istate = SDPAREN;
+ istate = SDPAREN;
ndparen = 0;
}
#endif /* KSH */
diff --git a/bin/pdksh/main.c b/bin/pdksh/main.c
index af8056db065..5bbc327a651 100644
--- a/bin/pdksh/main.c
+++ b/bin/pdksh/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.7 1997/06/19 13:58:45 kstailey Exp $ */
+/* $OpenBSD: main.c,v 1.8 1997/09/01 18:30:09 deraadt Exp $ */
/*
* startup, main loop, enviroments and error handling
@@ -26,7 +26,7 @@ static int is_restricted ARGS((char *name));
static const char initifs [] = "IFS= \t\n"; /* must be R/W */
-static const char initsubs [] =
+static const char initsubs [] =
"${PS2=> } ${PS3=#? } ${PS4=+ }";
static const char version_param[] =
diff --git a/bin/pdksh/syn.c b/bin/pdksh/syn.c
index acfdea7d145..4b37baa819d 100644
--- a/bin/pdksh/syn.c
+++ b/bin/pdksh/syn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syn.c,v 1.7 1997/06/19 13:58:47 kstailey Exp $ */
+/* $OpenBSD: syn.c,v 1.8 1997/09/01 18:30:12 deraadt Exp $ */
/*
* shell parser (C version)
@@ -803,7 +803,7 @@ compile(s)
* a=[ab]
* $ x=typeset; $x a=[ab]; echo "$a"
* a=a
- * $
+ * $
*/
static int
assign_command(s)
diff --git a/bin/pdksh/trap.c b/bin/pdksh/trap.c
index 9bb07c57dbd..f1efe6451d9 100644
--- a/bin/pdksh/trap.c
+++ b/bin/pdksh/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.5 1997/08/05 22:22:58 deraadt Exp $ */
+/* $OpenBSD: trap.c,v 1.6 1997/09/01 18:30:13 deraadt Exp $ */
/*
* signal handling
@@ -251,7 +251,7 @@ runtrap(p)
p->flags |= old_changed;
}
}
-
+
/* clear pending traps and reset user's trap handlers; used after fork(2) */
void
cleartraps()
diff --git a/bin/pdksh/tree.c b/bin/pdksh/tree.c
index 87977b5bbb1..93e3f9d7de7 100644
--- a/bin/pdksh/tree.c
+++ b/bin/pdksh/tree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tree.c,v 1.4 1997/06/19 13:58:48 kstailey Exp $ */
+/* $OpenBSD: tree.c,v 1.5 1997/09/01 18:30:15 deraadt Exp $ */
/*
* command tree climbing
@@ -352,7 +352,7 @@ int
#ifdef HAVE_PROTOTYPES
fptreef(struct shf *shf, int indent, const char *fmt, ...)
#else
-fptreef(shf, indent, fmt, va_alist)
+fptreef(shf, indent, fmt, va_alist)
struct shf *shf;
int indent;
const char *fmt;
@@ -362,7 +362,7 @@ fptreef(shf, indent, fmt, va_alist)
va_list va;
SH_VA_START(va, fmt);
-
+
vfptreef(shf, indent, fmt, va);
va_end(va);
return 0;
diff --git a/bin/pdksh/var.c b/bin/pdksh/var.c
index f02c5b8f06e..8350846a148 100644
--- a/bin/pdksh/var.c
+++ b/bin/pdksh/var.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: var.c,v 1.5 1997/06/19 13:58:49 kstailey Exp $ */
+/* $OpenBSD: var.c,v 1.6 1997/09/01 18:30:16 deraadt Exp $ */
#include "sh.h"
#include "ksh_time.h"
@@ -159,7 +159,7 @@ global(n)
register struct block *l = e->loc;
register struct tbl *vp;
register int c;
- unsigned h;
+ unsigned h;
bool_t array;
int val;
@@ -405,7 +405,7 @@ getint(vp, nump)
int base, neg;
int have_base = 0;
long num;
-
+
if (vp->flag&SPECIAL)
getspec(vp);
/* XXX is it possible for ISSET to be set and val.s to be 0? */
@@ -460,7 +460,7 @@ setint_v(vq, vp)
{
int base;
long num;
-
+
if ((base = getint(vp, &num)) == -1)
return NULL;
if (!(vq->flag & INTEGER) && (vq->flag & ALLOC)) {
@@ -583,7 +583,7 @@ typeset(var, set, clr, field, base)
return NULL;
if (*val == '[') {
int len;
-
+
len = array_ref_len(val);
if (len == 0)
return NULL;