summaryrefslogtreecommitdiff
path: root/lib/libcurses
AgeCommit message (Collapse)Author
2007-05-17Check fgets return value, from Charles Longeau.Ray Lai
OK millert@.
2007-04-16ptr->term_names can point into ptr->str_table, so don;t free that one.Otto Moerbeek
fixes PR #5447. Fix verifed to be equal to the ifndef NO_LEAK part of current ncurses.
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
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-05-14lint warns about some fishy type conversion.Marc Espie
Indeed, some ints can be silently shortened to unsigned short. Since those functions can return errors, do not convert spurious parameters to the wrong values, but return an error code instead. Tested for ill effects without any noticeable problems. okay millert@, otto@
2006-03-12more getopt() EOF crud; adobriyan@gmailTheo de Raadt
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-07-19Convert return value of cgetent(3) to what the curses routines expect.Todd C. Miller
Fixes a problem where an unknown terminal type would be reported as "database not found". Noticed by grunk@
2004-12-10typos, then -> than, from Michael KnudsenJared Yanovich
2004-11-04Correct paths of terminfo db and dir. Prompted By Han Boetes. With jmc@Otto Moerbeek
ok millert@
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2003-10-19fix installation of DEBUGLIBS libcurses symlink.Brad Smith
-- From: tholo@
2003-10-15fix out of bounds access. found by david@ running with malloc guards andTed Unangst
randomization. ok millert@
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-04mop up some more 3/4 license issuesTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-05-19Add the generated files as a dependency for the 'all' target.Todd C. Miller
Should prevent bogus bug reports that come in every so often...
2003-05-14typos;Jason McIntyre
diffs passed on to curses people.
2003-05-12typos;Jason McIntyre
diffs passed on to curses people.
2003-04-14standalone/stand alone -> stand-alone;Jason McIntyre
from NetBSD (Igor Sobrado); httpd stuff passed to apache people; ok millert@
2003-04-13try to use the X Window System, X11 or XFree86 consistently.Jason McIntyre
diffs from Paul Weismann, via mickey@ aided, abetted and ok'd matthieu@
2003-03-18Use strlcpy() / strlcat() throughout.Todd C. Miller
2003-03-18make rcsid const to pass gcc -WallTodd C. Miller
2003-03-17Deal with snprintf returning -1Todd C. Miller
2003-03-17Use snprintf() and strlcpy() in the generated lib_keyname.cTodd C. Miller
2003-03-17use snprintf throughoutTodd C. Miller
2003-03-10duplicate words and spelling fixes in commentsDavid Krause
ok miod@
2003-03-07spelling errors/typosDavid Krause
ok jmc@
2003-01-23typos;Jason McIntyre
ok millert@
2002-12-03Crank all library major numbers. Needed due to the fact that weTodd C. Miller
now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
2002-11-14Add a link to libncurses. Lots of programs/configure scripts out thereTodd C. Miller
look for ncurses by checking for ncurses.h or libncurses instead of checking for NCURSES_VERSION in curses.h. Closes PR 2942.
2002-08-16use HOSTCFLAGS and HOSTLDFLAGS with HOSTCC.Wilbern Cobb
ok art@, miod@
2002-07-26Obey LDSTATIC for the helper binaries.Artur Grabowski
2002-06-24Properly install links for debug libraries; ok deraadt@Thorsten Lockert
2002-06-22use strtok_rTheo de Raadt
2002-02-18make Booleans signed char, since char is unsigned on powerpc; millert okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-06mark more signals that I cannot fixTheo de Raadt
2001-07-27stdarg.h, not varargs.hTodd C. Miller
2001-02-28ncurses-5.2-20010224Todd C. Miller
2001-02-25fix enboldening on idcok and immedok in NAME sectionTodd C. Miller
2001-02-25Missing commas in NAME section. Found by an espie script ;-)Todd C. Miller
2001-02-22Make _nc_get_token() take a "silent" argument and only warn if itTodd C. Miller
is not set. Propagate "silent" flag in _nc_parse_entry() to _nc_get_token(). Set the silent flag when reading termcap files, including $TERMCAP.
2001-02-22Update to ncurses-5.2-20010210:Todd C. Miller
o remove macro callPutChar() from tty_update.c, since this is no longer needed (reported by Philippe Blain). o add a null-pointer check in tic.c to handle the case when the input file is really empty. Modify the next_char() function in comp_scan.c to allow arbitrarily long lines, and incidentally supply a newline to files that do not end in a newline. These changes improve tic's recovery from attempts to read binary files, e.g., its output from the terminfo database (reported by Bernhard Rosenkraenzer). o revert change to c++/demo.cc from 20001209, which changed definition of main() apparently to accommodate cygwin linker, but broke the demo program.
2001-02-21#ifdef out the "older tic versions may treat the description fieldTodd C. Miller
as an alias" warning since it hits people with $TERMCAP set when there is no terminfo file present. A better fix would be to make _nc_get_token() take a quiet flag.
2001-01-22Missed changes in ncurses-5.2-20010114 commitTodd C. Miller
2001-01-22Update to ncurses-5.2-20010114Todd C. Miller
2000-12-17data base -> databaseTodd C. Miller
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt