[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/Attic/builtin.c,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/src/Attic/builtin.c,v [branch-1_4] |
Date: |
Fri, 14 Jul 2006 15:16:02 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/07/14 15:15:59
Index: src/builtin.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/builtin.c,v
retrieving revision 1.1.1.1.2.23
retrieving revision 1.1.1.1.2.24
diff -u -b -r1.1.1.1.2.23 -r1.1.1.1.2.24
--- src/builtin.c 13 Jul 2006 22:09:54 -0000 1.1.1.1.2.23
+++ src/builtin.c 14 Jul 2006 15:15:58 -0000 1.1.1.1.2.24
@@ -733,7 +733,7 @@
symbol *s;
const char *name = ARG (1);
- if (bad_argc (argv[0], argc, 1, -1))
+ if (bad_argc (argv[0], argc, 2, -1))
return;
s = lookup_symbol (name, SYMBOL_LOOKUP);
@@ -1596,6 +1596,8 @@
static void
m4_format (struct obstack *obs, int argc, token_data **argv)
{
+ if (bad_argc (argv[0], argc, 2, -1))
+ return;
format (obs, argc - 1, argv + 1);
}
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/06
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/07
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/09
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/11
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/13
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/13
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/13
- Changes to m4/src/Attic/builtin.c,v [branch-1_4],
Eric Blake <=
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/14
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/17
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/24
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/27
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/29
- Changes to m4/src/Attic/builtin.c,v [branch-1_4], Eric Blake, 2006/07/30