aboutsummaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-03-03 20:58:30 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-03-03 20:58:30 +0200
commitd78adb29468012f54dd029e021d83eb668f19a7d (patch)
tree345620043133b470fad53048afadafc9bde10507 /profile.c
parentf0141fdfcfd870de22d54baaa3551b2aae0dac6f (diff)
parent309b2057256e2148b444ba556ca6639f73da188f (diff)
downloadegawk-d78adb29468012f54dd029e021d83eb668f19a7d.tar.gz
egawk-d78adb29468012f54dd029e021d83eb668f19a7d.tar.bz2
egawk-d78adb29468012f54dd029e021d83eb668f19a7d.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 9e4a9b02..43875600 100644
--- a/profile.c
+++ b/profile.c
@@ -1538,10 +1538,10 @@ pp_list(int nargs, const char *paren, const char *delim)
erealloc(pp_args, NODE **, (nargs + 2) * sizeof(NODE *), "pp_list");
}
+ delimlen = strlen(delim);
if (nargs == 0)
len = 2;
else {
- delimlen = strlen(delim);
len = -delimlen;
for (i = 1; i <= nargs; i++) {
r = pp_args[i] = pp_pop();