NetBSD/lib/libcurses
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
..
EXAMPLES More trailing white space. 1999-07-02 15:58:35 +00:00
PSD.doc Add code to allow resizing of windows and the underlying terminal. 2001-09-20 11:11:54 +00:00
Makefile Add code to allow resizing of windows and the underlying terminal. 2001-09-20 11:11:54 +00:00
acs.c Rename variables refering to termcap capabilities from NN to __tc_nn. Case 2000-12-19 21:34:24 +00:00
addbytes.c Implement scrolling regions : 2001-04-20 12:56:08 +00:00
addch.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
addnstr.c change behavior of waddnstr(w, s, 0) to be more conformant to XCURSES. 2000-08-13 03:26:41 +00:00
attributes.c Rename variables refering to termcap capabilities from NN to __tc_nn. Case 2000-12-19 21:34:24 +00:00
background.c * Added rcs id line to files missing it. 2000-04-24 14:09:41 +00:00
bell.c Rename variables refering to termcap capabilities from NN to __tc_nn. Case 2000-12-19 21:34:24 +00:00
border.c Don't delete attributes when character 0 (default) is passed in. 2001-02-05 21:54:21 +00:00
box.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
clear.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
clearok.c * Added rcs id line to files missing it. 2000-04-24 14:09:41 +00:00
clrtobot.c GC __FORCEPAINT. 2000-05-20 15:12:15 +00:00
clrtoeol.c GC __FORCEPAINT. 2000-05-20 15:12:15 +00:00
color.c de-lint: 2001-01-05 22:57:56 +00:00
copywin.c withough -> without 2001-06-13 10:45:57 +00:00
cr_put.c Rename variables refering to termcap capabilities from NN to __tc_nn. Case 2000-12-19 21:34:24 +00:00
ctrace.c va_{start,end} audit: 2001-09-24 13:22:25 +00:00
cur_hash.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
curs_set.c withough -> without 2001-06-13 10:45:57 +00:00
curses.3 Add code to allow resizing of windows and the underlying terminal. 2001-09-20 11:11:54 +00:00
curses.c Revert the change to the `pc' capability from the previous change. Pointed 2000-12-22 17:07:12 +00:00
curses.h Add code to allow resizing of windows and the underlying terminal. 2001-09-20 11:11:54 +00:00
curses_private.h withough -> without 2001-06-13 10:45:57 +00:00
delch.c Make comments match reality (delete-char instead of insert-char). 2001-04-20 12:57:47 +00:00
deleteln.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
delwin.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
erase.c GC __FORCEPAINT. 2000-05-20 15:12:15 +00:00
flushok.c * Added rcs id line to files missing it. 2000-04-24 14:09:41 +00:00
fullname.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
getch.c Fixed casting bug in array indexing, a signed char was being sign 2001-01-10 14:02:31 +00:00
getstr.c Forget to mention: This fixes PR lib/12565. 2001-04-20 13:14:42 +00:00
getyx.c * Added rcs id line to files missing it. 2000-04-24 14:09:41 +00:00
id_subwins.c Make subwindows scroll correctly. 2000-04-16 05:48:25 +00:00
idlok.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
inch.c * Added rcs id line to files missing it. 2000-04-24 14:09:41 +00:00
inchstr.c Add the instr and inchstr families of functions. 2001-01-01 10:36:12 +00:00
initscr.c de-lint: 2001-01-05 22:57:56 +00:00
insch.c GC __FORCEPAINT. 2000-05-20 15:12:15 +00:00
insdelln.c Implement scrolling regions : 2001-04-20 12:56:08 +00:00
insertln.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
instr.c Add the instr and inchstr families of functions. 2001-01-01 10:36:12 +00:00
keypad.c withough -> without 2001-06-13 10:45:57 +00:00
leaveok.c * Added rcs id line to files missing it. 2000-04-24 14:09:41 +00:00
line.c withough -> without 2001-06-13 10:45:57 +00:00
longname.c * Fix longname behaviour so it returns the last alias for the terminal 2000-04-20 09:36:11 +00:00
meta.c withough -> without 2001-06-13 10:45:57 +00:00
move.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
mvwin.c Added functions to replace what were previously macros in curses.h 2000-04-15 13:17:02 +00:00
newwin.c Set scrolling region top correctly. 2001-05-17 19:04:01 +00:00
nodelay.c withough -> without 2001-06-13 10:45:57 +00:00
notimeout.c withough -> without 2001-06-13 10:45:57 +00:00
overlay.c More multiple changes: 2000-04-18 12:23:01 +00:00
overwrite.c * Fixed bug in copywin. 2000-04-26 12:29:47 +00:00
pause.c Make this compile again. 2001-01-07 14:44:03 +00:00
printw.c va_{start,end} audit: 2001-09-24 13:22:25 +00:00
putchar.c * Fix longname behaviour so it returns the last alias for the terminal 2000-04-20 09:36:11 +00:00
refresh.c Add code to allow resizing of windows and the underlying terminal. 2001-09-20 11:11:54 +00:00
resize.c Add code to allow resizing of windows and the underlying terminal. 2001-09-20 11:11:54 +00:00
scanw.c va_list -> _BSD_VA_LIST_ to be consistent with prototype 2000-12-30 17:20:55 +00:00
scroll.c Set scrolling region top correctly. 2001-05-17 19:04:01 +00:00
scrollok.c * Added rcs id line to files missing it. 2000-04-24 14:09:41 +00:00
setterm.c Revert the change to the `pc' capability from the previous change. Pointed 2000-12-22 17:07:12 +00:00
shlib_version Bump libcurses minor (now 4.2). 2001-04-20 13:04:58 +00:00
standout.c Rename variables refering to termcap capabilities from NN to __tc_nn. Case 2000-12-19 21:34:24 +00:00
timeout.c * Added rcs id line to files missing it. 2000-04-24 14:09:41 +00:00
toucholap.c GC __FORCEPAINT. 2000-05-20 15:12:15 +00:00
touchwin.c GC __FORCEPAINT. 2000-05-20 15:12:15 +00:00
tscroll.c Fix `gcc -Wuninitialized`. 2000-04-27 00:27:56 +00:00
tstp.c There was a missing check for curscr != NULL, fixed. 2001-01-14 08:12:47 +00:00
tty.c Rename variables refering to termcap capabilities from NN to __tc_nn. Case 2000-12-19 21:34:24 +00:00
unctrl.c Upgrades the standard NetBSD curses library to provide some 1999-04-13 14:08:17 +00:00
unctrl.h Moved unctrl.h from games/mille. 1997-05-23 23:12:31 +00:00
underscore.c Rename variables refering to termcap capabilities from NN to __tc_nn. Case 2000-12-19 21:34:24 +00:00