Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libcurses
Module Name: src
Committed By: jdc
Date: Thu Oct 25 20:32:40 UTC 2007
Modified Files:
src/lib/libcurses: curses_keyname.3 keyname.c
Log Message:
Return "-1" for unknown keys and only return NULL for errors.
Make the key name string a static buffer. The specification allows this,
so the previous behaviour would leak a small amount of memory, as the
application wouldn't free the returned string.
Fixes one part of PR pkg/37062.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/lib/libcurses/curses_keyname.3
cvs rdiff -r1.4 -r1.5 src/lib/libcurses/keyname.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