about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 */