Date: Wed, 31 Aug 2011 11:11:22 GMT From: Kaspars Bankovskis <kaspars@bankovskis.lv> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/160330: [patch] misc/libutf: few typos corrected Message-ID: <201108311111.p7VBBMT2029855@red.freebsd.org> Resent-Message-ID: <201108311120.p7VBK7TO043441@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160330 >Category: ports >Synopsis: [patch] misc/libutf: few typos corrected >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 31 11:20:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Kaspars Bankovskis >Release: >Organization: >Environment: >Description: - added a patch for few typos in the manpage - maintainership update >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN libutf.bak/Makefile libutf/Makefile --- libutf.bak/Makefile 2011-08-31 13:41:45.000000000 +0300 +++ libutf/Makefile 2011-08-31 13:56:00.000000000 +0300 @@ -7,12 +7,12 @@ PORTNAME= libutf PORTVERSION= 2.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= ftp://ftp.cs.yorku.ca/pub/wily/misc/ \ http://www.westley.demon.co.uk/src/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= kaspars@bankovskis.lv COMMENT= UTF-8 character set support library, including regular expressions GNU_CONFIGURE= YES diff -ruN libutf.bak/files/patch-utf.3 libutf/files/patch-utf.3 --- libutf.bak/files/patch-utf.3 1970-01-01 03:00:00.000000000 +0300 +++ libutf/files/patch-utf.3 2011-08-31 13:54:27.000000000 +0300 @@ -0,0 +1,28 @@ +--- utf.3.orig 1997-03-05 19:19:32.000000000 +0200 ++++ utf.3 2011-08-31 13:50:41.000000000 +0300 +@@ -59,14 +59,14 @@ + \fBUTF\fR string \fIcp\fR contain a complete \fBUTF\fR encoding. + .PP + \fButflen\fR returns the number of runes in a \fBUTF\fR string. +-\fButbytes\fR returns the number of bytes in a \fBUTF\fR string. ++\fButfbytes\fR returns the number of bytes in a \fBUTF\fR string. + \fButfrune\fR returns a pointer to the first occurrence of + a rune in a \fBUTF\fR string. + \fButfrrune\fR returns a pointer to the last. + \fButfutf\fR searches for the first occurrence of a \fBUTF\fR string + in another \fBUTF\fR string. + .PP +-\fButf_snprintf\fR is a prticularly dumb implementation of snprintf ++\fButf_snprintf\fR is a particularly dumb implementation of snprintf + for utf strings - it only interprets %%, %s and %d sequences in the + format string, and does no field width calculation on those. + .PP +@@ -84,7 +84,7 @@ + \fButfncpy\fR copies at most \fInbytes\fR bytes from source to destination, + terminating when a null Rune is found in the source. If the number of + bytes copied is less than \fInbytes\fR, then the destination string is +-paddedf with null (0) bytes. If it is equal to or greater than \fInbytes\fR, ++padded with null (0) bytes. If it is equal to or greater than \fInbytes\fR, + no zero bytes is added. + The \fIdst\fR argument is returned. + \fButfcat\fR appends the UTF string \fIappend\fR onto the UTF string \fIsrc\fR. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108311111.p7VBBMT2029855>