Debian Bug report logs - #61088
libncurses5-dev: small error in redrawwin macro in /usr/include/ncurses.h

version graph

Package: libncurses5-dev; Maintainer for libncurses5-dev is Craig Small <csmall@debian.org>; Source for libncurses5-dev is src:ncurses.

Reported by: Oskar Liljeblad <osk@hem.passagen.se>

Date: Sat, 25 Mar 2000 15:03:03 UTC

Severity: normal

Found in version 5.0-6

Done: Daniel Jacobowitz <dan@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Joel Klecker <ncurses-maint@debian.org>:
Bug#61088; Package libncurses5-dev. Full text and rfc822 format available.

Acknowledgement sent to Oskar Liljeblad <osk@hem.passagen.se>:
New Bug report received and forwarded. Copy sent to Joel Klecker <ncurses-maint@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Oskar Liljeblad <osk@hem.passagen.se>
To: submit@bugs.debian.org
Subject: libncurses5-dev: small error in redrawwin macro in /usr/include/ncurses.h
Date: Sat, 25 Mar 2000 15:07:00 +0100
Package: libncurses5-dev
Version: 5.0-6
Severity: normal

There's a small typo in the /usr/include/ncurses.h file,
causing lines like

   redrawwin((WINDOW *) window)

to fail. The patch is included below.

Oskar Liljeblad (osk@hem.passagen.se)

--- /usr/include/ncurses.h      Wed Feb  2 08:08:32 2000
+++ ncurses.h   Sat Mar 25 15:04:41 2000
@@ -945,7 +945,7 @@
 #define winchstr(w, s)         winchnstr(w, s, -1)
 #define winsstr(w, s)          winsnstr(w, s, -1)
 
-#define redrawwin(w)           wredrawln(w, 0, w->_maxy+1)
+#define redrawwin(w)           wredrawln(w, 0, (w)->_maxy+1)
 #define waddstr(win,str)       waddnstr(win,str,-1)
 #define waddchstr(win,str)     waddchnstr(win,str,-1)
 


Bug closed, send any further explanations to Oskar Liljeblad <osk@hem.passagen.se> Request was from Daniel Jacobowitz <dan@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 11:36:25 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.