--- - branch: MAIN date: Thu Mar 14 00:36:06 UTC 2019 files: - new: '1.21' old: '1.20' path: src/lib/libcurses/get_wch.c pathrev: src/lib/libcurses/get_wch.c@1.21 type: modified - new: '1.71' old: '1.70' path: src/lib/libcurses/getch.c pathrev: src/lib/libcurses/getch.c@1.71 type: modified id: 20190314T003606Z.65bb27b260bd22f3a7ca0616bd5c1526678dca4f log: | 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 module: src subject: 'CVS commit: src/lib/libcurses' unixtime: '1552523766' user: rin