From 4346bb908d494a60f4fa52875ae10228125d82f2 Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 21 Jan 2007 22:11:10 +0100 Subject: [PATCH] command_util.sh: Make sure the "handler" pointer is NULL if a line handler exists. This becomes neccessary because the array of commands is no longer static, i.e. the standard does not guarantee that uninitialized members are zeroed out. --- command_util.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/command_util.sh b/command_util.sh index 1b437657..ba5e99e2 100755 --- a/command_util.sh +++ b/command_util.sh @@ -8,6 +8,7 @@ dump_array_member() if test $line_handler -eq 0; then echo ".handler = com_$name_txt," else + echo ".handler = NULL," echo ".line_handler = com_$name_txt," fi if test -n "$perms_txt"; then -- 2.39.2