aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-12-18 13:31:31 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2013-12-18 13:47:31 +0200
commit17c44ea5af850bd03d4eeb245bb8fb35e7d07d90 (patch)
tree93ca08e509ca0f6d27b4028a5118f9c6c64cd2d6
parente92cf71a8f4d51810de7c0f7a613402737d66168 (diff)
downloadpies-17c44ea5af850bd03d4eeb245bb8fb35e7d07d90.tar.gz
pies-17c44ea5af850bd03d4eeb245bb8fb35e7d07d90.tar.bz2
Upgrade grecs
-rw-r--r--.gitignore1
-rwxr-xr-xbootstrap1
m---------grecs0
-rw-r--r--src/pies.c3
4 files changed, 2 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index f7b417d..4242bd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,8 +22,9 @@ config.h
config.h.in
config.log
config.status
configure
core
gnu
+gnulib
m4
stamp-h1
diff --git a/bootstrap b/bootstrap
index 46a0964..b790192 100755
--- a/bootstrap
+++ b/bootstrap
@@ -101,13 +101,12 @@ m4_base=m4
doc_base=doc
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
$build_aux/config.guess
$build_aux/config.sub
doc/INSTALL
diff --git a/grecs b/grecs
-Subproject 5596f7cdcdc1983021185c5e0900d5fcba7f328
+Subproject fa0d6d088a1fe22b178ef2565351f15622a1d6d
diff --git a/src/pies.c b/src/pies.c
index 2767d0a..71faf91 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -582,27 +582,26 @@ _cb_umask (enum grecs_callback_command cmd,
static int
_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;
switch (value->type)
{
case GRECS_TYPE_STRING:
if (wordsplit (value->v.string, &ws, WRDSF_DEFFLAGS))
{
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;
case GRECS_TYPE_ARRAY:
argv = config_array_to_argv (value, locus, NULL);
break;

Return to:

Send suggestions and report system problems to the System administrator.