summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2021-07-13 15:27:16 -0400
committerDan McDonald <danmcd@joyent.com>2021-07-13 15:27:16 -0400
commit94ab2e105614e1e1bdbd8f66f306a26f56af2623 (patch)
treefc7403d920ee23e962e570339e3be1271b5ee8bd
parentb8005ae835bbf87b7cefb50c34b0060b1dc54e86 (diff)
parent390ca21a12b3e3353546a4293f926ef7eef449d9 (diff)
downloadillumos-joyent-94ab2e105614e1e1bdbd8f66f306a26f56af2623.tar.gz
[illumos-gate merge]release-20210715
commit 390ca21a12b3e3353546a4293f926ef7eef449d9 13938 csh misbehaves after 13527
-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)