about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-12 11:10:52 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-12 11:10:52 +0000
commit4a250fe1dd8de01746b5ffc4612d01adc619b2cd (patch)
treeafdf2d10480f97106a2247b3be424068b6aacfc5
parent5de84477acd1abe1f192547ea22c46bcca9be63c (diff)
downloadzsh-4a250fe1dd8de01746b5ffc4612d01adc619b2cd.tar.gz
zsh-4a250fe1dd8de01746b5ffc4612d01adc619b2cd.tar.xz
zsh-4a250fe1dd8de01746b5ffc4612d01adc619b2cd.zip
missing initialisation for next field in assignments for substitutions for fc builtin (10692)
-rw-r--r--ChangeLog3
-rw-r--r--Src/builtin.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 51ff1aced..b496c2111 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-04-12  Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
 
+	* 10692: Src/builtin.c: missing initialisation for next field in
+ 	assignments for substitutions for fc builtin
+
 	* 10691: Completion/Core/_main_complete, Completion/Core/_oldlist:
  	keep _oldlist from using the dummy match inserted for warnings
 	
diff --git a/Src/builtin.c b/Src/builtin.c
index 37a8af495..dfea94477 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -1224,6 +1224,7 @@ bin_fc(char *nam, char **argv, char *ops, int func)
 	}
 	a->name = *argv;
 	a->value = s;
+	a->next = NULL;
 	argv++;
     }
     /* interpret and check first history line specifier */