From 00ef0423acd97cb964a2bae54c93a03a8ab50e5e Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 16 Jul 2010 14:55:10 +0300 Subject: Move to 3.1.8. --- ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext.c') diff --git a/ext.c b/ext.c index e0a99753..aee01a3d 100644 --- a/ext.c +++ b/ext.c @@ -7,7 +7,7 @@ */ /* - * Copyright (C) 1995 - 2001, 2003-2009 the Free Software Foundation, Inc. + * Copyright (C) 1995 - 2001, 2003-2010 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -105,7 +105,7 @@ make_builtin(char *name, NODE *(*func) P((NODE *)), int count) fatal(_("extension: missing function name")); while ((c = *sp++) != '\0') - if ((sp == &name[1] && c != '_' && ! ISALPHA(c)) + if ((sp == &name[1] && c != '_' && ! isalpha(c)) || (sp > &name[1] && ! is_identchar(c))) fatal(_("extension: illegal character `%c' in function name `%s'"), c, name); -- cgit v1.2.3