Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 23:51:06 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r243468 - projects/arm_eabi/usr.bin/cut
Message-ID:  <201211232351.qANNp7DD021832@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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')



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211232351.qANNp7DD021832>