Subject: lib/21677: small typo in curses_inch.3
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/25/2003 21:09:17
>Number:         21677
>Category:       lib
>Synopsis:       There is a small typo in the curses_inch.3 manual page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 17:17:01 UTC 2003
>Originator:     Douwe Kiela
>Release:        NetBSD 1.6T
System: NetBSD iluvatar 1.6T NetBSD 1.6T (ILUVATAR) #1: Mon May 19 23:56:57 CEST 2003 virtus@iluvatar:/usr/src/sys/arch/i386/compile/ILUVATAR i386
Architecture: i386
Machine: i386
There is a small typo in the curses_inch.3 manual page which is a bit confusing - nothing serious though.
It says that it's not advised to use the winchnstr function because when you use this function the
character buffer can be overflowed, but the winchnstr function is the 'safer' replacement of the
winchstr function, which actually does have this problem. A patch is attached.
Index: curses_inch.3
RCS file: /cvsroot/src/lib/libcurses/curses_inch.3,v
retrieving revision 1.4
diff -u -r1.4 curses_inch.3
--- curses_inch.3       2003/04/16 13:35:01     1.4
+++ curses_inch.3       2003/05/25 17:12:37
@@ -123,7 +123,7 @@
 The use of
 .Fn inchstr
-.Fn winchnstr
+.Fn winchstr
 is not recommended as the character buffer can be overflowed.