From cd3ed71137b28fa2f96774b3781cccc0eef37597 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 8 Jul 2012 22:36:04 -0700 Subject: [PATCH] Fixes Solaris kludge https://github.com/fish-shell/fish-shell/issues/76 --- fallback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fallback.cpp b/fallback.cpp index 1b14fad12..c8becd5c7 100644 --- a/fallback.cpp +++ b/fallback.cpp @@ -74,7 +74,7 @@ int tputs(const char *str, int affcnt, int (*fish_putc)(tputs_arg_t)) */ char *tparm_solaris_kludge( char *str, ... ) { - long int param[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; + long int param[9] = { }; va_list ap; va_start( ap, str );