From 8994dc436140e9e538fad9763c0076c24332649a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 30 Apr 2009 19:34:49 +0000 Subject: uci: increase argv size in batch mode to silence a false gcc 4.4 compiler warning SVN-Revision: 15521 --- package/uci/patches/100-gcc_warning.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/uci/patches/100-gcc_warning.patch diff --git a/package/uci/patches/100-gcc_warning.patch b/package/uci/patches/100-gcc_warning.patch new file mode 100644 index 0000000..9ac5144 --- /dev/null +++ b/package/uci/patches/100-gcc_warning.patch @@ -0,0 +1,11 @@ +--- a/cli.c ++++ b/cli.c +@@ -462,7 +462,7 @@ + + static int uci_batch_cmd(void) + { +- char *argv[MAX_ARGS]; ++ char *argv[MAX_ARGS + 2]; + char *str = NULL; + int ret = 0; + int i, j; -- cgit v1.1