NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/55517: [libcurses] wresize() function incorrectly resizes the subwindows



>Number:         55517
>Category:       lib
>Synopsis:       [libcurses] wresize() function incorrectly resizes the subwindows
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 26 08:40:00 +0000 2020
>Originator:     Naman Jain
>Release:        NetBSD 9.0
>Organization:
IIT Kanpur
>Environment:
NetBSD localhost 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
wresize() function incorrectly resizes the subwindows. Resize the window such that its subwindow falls out of resized window, incorrectly resizes the subwindow. 
>How-To-Repeat:
win1 = newwin(6,6,2,5)
win2 = subwin(win,5,5,3,6)
wresize(win1,4,4)
getmaxyx(win1, x1, y1)  // Expected(y,x):(4,4) Got:(4,4) 
getmaxyx(win2, x2, y2)  // Expected(y,x):(3,3) Got:(3,1)
>Fix:



Home | Main Index | Thread Index | Old Index