From owner-svn-src-all@FreeBSD.ORG Thu Jan 31 22:10:58 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 99C1881E; Thu, 31 Jan 2013 22:10:58 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 8C51B6CA; Thu, 31 Jan 2013 22:10:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0VMAwXt046624; Thu, 31 Jan 2013 22:10:58 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0VMAwlO046622; Thu, 31 Jan 2013 22:10:58 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201301312210.r0VMAwlO046622@svn.freebsd.org> From: Jilles Tjoelker Date: Thu, 31 Jan 2013 22:10:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246167 - head/bin/sh X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2013 22:10:58 -0000 Author: jilles Date: Thu Jan 31 22:10:57 2013 New Revision: 246167 URL: http://svnweb.freebsd.org/changeset/base/246167 Log: sh: Prefer our character classification functions to . Modified: head/bin/sh/miscbltin.c head/bin/sh/mksyntax.c Modified: head/bin/sh/miscbltin.c ============================================================================== --- head/bin/sh/miscbltin.c Thu Jan 31 22:09:53 2013 (r246166) +++ head/bin/sh/miscbltin.c Thu Jan 31 22:10:57 2013 (r246167) @@ -47,7 +47,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include @@ -60,6 +59,7 @@ __FBSDID("$FreeBSD$"); #include "memalloc.h" #include "error.h" #include "mystring.h" +#include "syntax.h" #undef eflag @@ -307,7 +307,7 @@ umaskcmd(int argc __unused, char **argv out1fmt("%.4o\n", mask); } } else { - if (isdigit(*ap)) { + if (is_digit(*ap)) { mask = 0; do { if (*ap >= '8' || *ap < '0') Modified: head/bin/sh/mksyntax.c ============================================================================== --- head/bin/sh/mksyntax.c Thu Jan 31 22:09:53 2013 (r246166) +++ head/bin/sh/mksyntax.c Thu Jan 31 22:10:57 2013 (r246167) @@ -165,7 +165,6 @@ main(int argc __unused, char **argv __un } fputs("#include \n", hfile); - fputs("#include \n", hfile); /* Generate the #define statements in the header file */ fputs("/* Syntax classes */\n", hfile);