From 17c44ea5af850bd03d4eeb245bb8fb35e7d07d90 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 18 Dec 2013 13:31:31 +0200 Subject: Upgrade grecs --- .gitignore | 1 + bootstrap | 1 - grecs | 2 +- src/pies.c | 3 +-- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f7b417d..4242bd6 100644 --- a/.gitignore +++ b/.gitignore @@ -25,5 +25,6 @@ config.status configure core gnu +gnulib m4 stamp-h1 diff --git a/bootstrap b/bootstrap index 46a0964..b790192 100755 --- a/bootstrap +++ b/bootstrap @@ -104,7 +104,6 @@ tests_base=tests # Extra files from gnulib, which override files from other sources. gnulib_extra_files=" $build_aux/install-sh - $build_aux/missing $build_aux/mdate-sh $build_aux/texinfo.tex $build_aux/depcomp diff --git a/grecs b/grecs index 5596f7c..fa0d6d0 160000 --- a/grecs +++ b/grecs @@ -1 +1 @@ -Subproject commit 5596f7cdcdc1983021185c5e0900d5fcba7f3282 +Subproject commit fa0d6d088a1fe22b178ef2565351f15622a1d6d2 diff --git a/src/pies.c b/src/pies.c index 2767d0a..71faf91 100644 --- a/src/pies.c +++ b/src/pies.c @@ -585,7 +585,6 @@ _cb_env (enum grecs_callback_command cmd, grecs_locus_t *locus, void *varptr, grecs_value_t *value, void *cb_data) { - int argc; char **argv; char ***penv = varptr; struct wordsplit ws; @@ -598,8 +597,8 @@ _cb_env (enum grecs_callback_command cmd, grecs_error (locus, 0, "wordsplit: %s", strerror (errno)); return 1; } - argc = ws.ws_wordc; argv = ws.ws_wordv; + ws.ws_wordc = 0; ws.ws_wordv = NULL; break; -- cgit v1.2.1