Subject: Re: PR/34244 CVS commit: src/usr.bin/cut
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-bugs
Date: 02/21/2007 20:50:02
The following reply was made to PR bin/34244; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov@tut.by>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: PR/34244 CVS commit: src/usr.bin/cut
Date: Wed, 21 Feb 2007 22:47:56 +0200
> 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
Thanks. it works.
hint: the following trick may significantly speed up 'cut -c'
...
case 'c':
if (MB_CUR_MAX == 1)
fcn = b_cut;
else
fcn = c_cut;
...
Could you please merge these changes to netbsd-4
(and if possible netbsd-3) branches?
--
Best regards, Aleksey Cheusov.