NetBSD Problem Report #21677

Received: (qmail 23243 invoked by uid 605); 25 May 2003 17:16:10 -0000
Message-Id: <>
Date: Sun, 25 May 2003 21:09:17 +0200 (CEST)
Subject: small typo in curses_inch.3
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 17:17:01 +0000 2003
>Closed-Date:    Sun May 25 17:20:06 +0000 2003
>Last-Modified:  Sun May 25 17:21:00 +0000 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.
State-Changed-From-To: open->closed 
State-Changed-By: wiz 
State-Changed-When: Sun May 25 17:19:53 UTC 2003 
Fixed, thanks. 

From: Thomas Klausner <>
Subject: pr/21677 CVS commit: src/lib/libcurses
Date: Sun, 25 May 2003 17:19:43 +0000 (UTC)

 Module Name:	src
 Committed By:	wiz
 Date:		Sun May 25 17:19:42 UTC 2003

 Modified Files:
 	src/lib/libcurses: curses_inch.3

 Log Message:
 Fix typo reported by Douwe Kiela in PR 21677.

 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 src/lib/libcurses/curses_inch.3

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.