summaryrefslogtreecommitdiff
path: root/lib/libcurses/tinfo/captoinfo.c
AgeCommit message (Collapse)Author
2006-10-24Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1].Moritz Jodeit
OK ray@ cloder@
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2006-03-12more getopt() EOF crud; adobriyan@gmailTheo de Raadt
2003-10-15fix out of bounds access. found by david@ running with malloc guards andTed Unangst
randomization. ok millert@
2003-03-18Use strlcpy() / strlcat() throughout.Todd C. Miller
2003-03-17use snprintf throughoutTodd C. Miller
2001-01-22Update to ncurses-5.2-20010114Todd C. Miller
2000-04-04Update to ncurses-5.0-20000401:Todd C. Miller
o change unctrl() to render C1 characters (128-159) as ~@, ~A, etc. o trace() function is provided only if TRACE is defined, e.g., in the debug library. Modify related calls to _tracechar() to use unctrl() instead.
2000-03-26Update to ncurses-5.0-20000325Todd C. Miller
2000-03-13update to ncurses-5.0-20000311Todd C. Miller
1999-12-12Update to ncurses-19991211:Todd C. Miller
o treat as untranslatable to termcap those terminfo strings which contain non-decimal formatting, e.g., hexadecimal or octal. o correct commented-out capabilities that cannot be translated to termcap, which did not check if a colon must be escaped. o correct termcap translation for "%>" and "%+", which did not check if a colon must be escaped, for instance. o use save_string/save_char for _nc_captoinfo() to eliminate fixed buffer (originally for _nc_infotocap() in 960301 -TD). o correct expression used for terminfo equivalent of termcap %B, adjust regent100 entry which uses this. o some cleanup and commenting of ad hoc cases in _nc_infotocap(). o eliminate a fixed-buffer in tic, used for translating comments. o add manpage for infotocap.
1999-12-06update to ncurses-5.0-19991204Todd C. Miller
1999-08-15Update to ncurses-5.0-990814Todd C. Miller
1999-03-02ncurses-4.2-990301Todd C. Miller
1999-01-18ncurses-4.2-990116Todd C. Miller