Subject: PR/34244 CVS commit: src/usr.bin/cut
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Hubert Feyrer <hubertf@netbsd.org>
List: netbsd-bugs
Date: 02/17/2007 19:15:05
The following reply was made to PR bin/34244; it has been noted by GNATS.

From: Hubert Feyrer <hubertf@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34244 CVS commit: src/usr.bin/cut
Date: Sat, 17 Feb 2007 19:10:00 +0000 (UTC)

 Module Name:	src
 Committed By:	hubertf
 Date:		Sat Feb 17 19:10:00 UTC 2007
 
 Modified Files:
 	src/usr.bin/cut: cut.c
 Added Files:
 	src/usr.bin/cut: x_cut.c
 
 Log Message:
 Teach 'cut -c' about multibyte characters.  Fixes PR 34244,
 using the patch from the PR and some hacking by myself to avoid code
 redundancy.
 
 Passes the regression tests I've added.
 
 (How many weeks of purgatory do I get for the cpp(1) hack to avoid
  code redundancy? I guess I can always say it was inspired by some old
  version of our md5 sources...)
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.21 -r1.22 src/usr.bin/cut/cut.c
 cvs rdiff -r0 -r1.1 src/usr.bin/cut/x_cut.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.