Source-Changes archive

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

CVS commit: [netbsd-7] src/lib/libcurses



Module Name:    src
Committed By:   martin
Date:           Fri Mar 15 14:36:22 UTC 2019

Modified Files:
        src/lib/libcurses [netbsd-7]: get_wch.c getch.c

Log Message:
Pull up following revision(s) (requested by rin in ticket #1686):

        lib/libcurses/get_wch.c: revision 1.21
        lib/libcurses/getch.c: revision 1.71

Rename global variable "state" to "_cursesi_state".

Until now, if application happens to have a global variable of the same
name, it was overridden by curses routines. This is the scenario in
which aspell crashes when linked to our curses, reported in pkg/44005.

We need to wipe out global/static variables like "_cursesi_state" or
"wstate" for thread safety. But it would be a future task...

XXX pullup to netbsd-8 and netbsd-7


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.10.10.1 src/lib/libcurses/get_wch.c
cvs rdiff -u -r1.59 -r1.59.10.1 src/lib/libcurses/getch.c

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




Home | Main Index | Thread Index | Old Index