summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Fiddaman <omnios@citrus-it.co.uk>2021-07-12 14:45:55 +0000
committerAndy Fiddaman <omnios@citrus-it.co.uk>2021-07-13 13:46:59 +0000
commit390ca21a12b3e3353546a4293f926ef7eef449d9 (patch)
tree77f69f17df4c82a83b7577bd220609c503846f2d
parent069b2ef0d51cd626922df94af789ca0dc322222d (diff)
downloadillumos-joyent-390ca21a12b3e3353546a4293f926ef7eef449d9.tar.gz
13938 csh misbehaves after 13527
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Klaus Ziegler <klausz@haus-gisela.de> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/cmd/csh/sh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/csh/sh.c b/usr/src/cmd/csh/sh.c
index aacffdefed..96b6fb1127 100644
--- a/usr/src/cmd/csh/sh.c
+++ b/usr/src/cmd/csh/sh.c
@@ -4,7 +4,7 @@
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
-/* All Rights Reserved */
+/* All Rights Reserved */
/*
* Copyright (c) 1980 Regents of the University of California.
@@ -125,7 +125,7 @@ main(int c, char **av)
tchar s_prompt[MAXHOSTNAMELEN+3];
char *c_max_var_len;
int c_max_var_len_size;
- bool intact;
+ bool intact = 0;
/*
* set up the error exit, if there is an error before
@@ -322,7 +322,7 @@ main(int c, char **av)
nofile++;
break;
#ifdef TRACE
- case 'T': /* -T trace switch on */
+ case 'T': /* -T trace switch on */
trace_init();
break;
#endif
@@ -632,7 +632,7 @@ srccat(tchar *cp, tchar *dp)
/*
* Source to the file which is the catenation of the argument names.
- * This one does not check the ownership.
+ * This one does not check the ownership.
*/
void
srccat_inlogin(tchar *cp, tchar *dp)