summaryrefslogtreecommitdiff
path: root/lib/libterm/termcap.c
AgeCommit message (Expand)Author
2002-11-11Fix signed/unsigned comparison warnings.thorpej
2002-06-19Make sure that we free memory and return null if we failed to initialize.christos
2001-12-10Fix off by one bug in t_agetstr - the pointer is moved to one past theblymn
2001-12-02stop t_freent freeing the same memory all the time.blymn
2001-11-05make comment reflect reality (no functional changes)christos
2001-11-02PR/10266: Jason R. Thorpe: curses programs totally broken.christos
2001-10-31PR/10266: t_getstr() leaks memory. This PR will stay in feedbackchristos
2001-01-29- use MAXPATHLEN to get the array size for the path we store.christos
2001-01-09sprinkle some _DIAGASSERT()s inlukem
2000-06-03* Improve the handling of BC and UP in t_goto, t_getent now queriesblymn
2000-06-02Back out previous change. It causes all sorts of problems. Thethorpej
2000-06-02Don't leak memory.christos
2000-06-02correct memory leak due to t_getstr() and realloc(). the commit willitojun
2000-06-01size arg doesn't exist anymore, so don't DIAGASSERT itlukem
2000-05-28* Fixed Makefile to proper set includes pathblymn
2000-05-20* Removed variable names from ansi style prototypeblymn
2000-05-14area is allowed to be NULL, so don't _DIAGASSERT it.lukem
2000-05-12- use strchr instead of indexchristos
2000-05-08* Modified t_getent to ignore the TERMCAP env variable if it contains theblymn
2000-04-20Fixed t_getstr so that limit is only set to 0 iff area is NULL when anblymn
2000-04-19Ensure limit is sane on return from t_getstr if requested entry doesblymn
2000-04-19Added new function t_getterm to return the name string of a termcapblymn
2000-04-18Split private data structure into separate file.blymn
1999-09-20back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.lukem
1999-09-16* use _DIAGASSERT() to check pointer arguments against NULL and filelukem
1999-08-17Added minor tweak to t_getstr, by passing a NULL area pointer the sizeblymn
1999-08-16Updated library minor version and fixed small type glitch (limit is nowblymn
1999-08-15Added new interface to termcap that allows the manipulation of multipleblymn
1999-07-02More trailing white space.simonb
1999-03-22If we have to truncate the entry, try hard to truncate on a whole cap.abs
1998-10-14Clean up lint - one set but unused variable, 3 FALLTHROUGH comments needed,agc
1998-07-27const poisoning.mycroft
1997-10-13install <termcap.h> (was from libedit), and use here...lukem
1997-10-09WARNSifylukem
1997-04-22note possible security concerns.mrg
1997-01-23- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.mrg
1996-11-12/etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401.mikel
1996-03-22hack to limit termcap strings to 1024 charactersjtc
1995-06-05Prototypes (PR#1103).pk
1995-02-27clean up import, roll forward local fixes, clean up Idscgd
1994-04-18was freeing random data. fix from vdlinden@fwi.uva.nl (Frank van der Linden)deraadt
1994-01-24clean up; use standard headers and functions, rather than local def'ns.cgd
1994-01-13warnings about incompatible declarations fixed.glass
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd