about summary refs log tree commit diff
path: root/Src/init.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-22 13:08:37 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-22 13:08:37 +0000
commitf98b1581a4df286c310a2ef07f3af61eac9ea51d (patch)
tree9d4959898f51d25bd7f7c0f37e48e12469e04367 /Src/init.c
parentfa7abedb5d6706c0ca3f3113013e87aa67939c51 (diff)
downloadzsh-f98b1581a4df286c310a2ef07f3af61eac9ea51d.tar.gz
zsh-f98b1581a4df286c310a2ef07f3af61eac9ea51d.tar.xz
zsh-f98b1581a4df286c310a2ef07f3af61eac9ea51d.zip
zsh-workers/7978
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c
index 2761a6afc..f0b9803e4 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -43,7 +43,7 @@ int noexitct = 0;
 char *underscore;
 
 /**/
-int underscorelen;
+int underscorelen, underscoreused;
 
 /* what level of sourcing we are at */
  
@@ -625,6 +625,7 @@ setupvals(void)
     wordchars   = ztrdup(DEFAULT_WORDCHARS);
     postedit    = ztrdup("");
     underscore  = (char *) zalloc(underscorelen = 32);
+    underscoreused = 1;
     *underscore = '\0';
 
     zoptarg = ztrdup("");