svn commit: r243468 - projects/arm_eabi/usr.bin/cut
Andrew Turner
andrew at FreeBSD.org
Fri Nov 23 23:51:07 UTC 2012
Author: andrew
Date: Fri Nov 23 23:51:06 2012
New Revision: 243468
URL: http://svnweb.freebsd.org/changeset/base/243468
Log:
We always pass a wchar_t to is_delim(), not an int.
Modified:
projects/arm_eabi/usr.bin/cut/cut.c
Modified: projects/arm_eabi/usr.bin/cut/cut.c
==============================================================================
--- projects/arm_eabi/usr.bin/cut/cut.c Fri Nov 23 21:29:08 2012 (r243467)
+++ projects/arm_eabi/usr.bin/cut/cut.c Fri Nov 23 23:51:06 2012 (r243468)
@@ -68,7 +68,7 @@ static int b_n_cut(FILE *, const char *)
static int c_cut(FILE *, const char *);
static int f_cut(FILE *, const char *);
static void get_list(char *);
-static int is_delim(int);
+static int is_delim(wchar_t);
static void needpos(size_t);
static void usage(void);
@@ -364,7 +364,7 @@ out:
}
static int
-is_delim(int ch)
+is_delim(wchar_t ch)
{
if (wflag) {
if (ch == ' ' || ch == '\t')
More information about the svn-src-projects
mailing list