thorpej
3d397e0087
Fix signed/unsigned comparison warnings.
2002-11-11 23:56:46 +00:00
jdolecek
f1f01145ee
make tmspc10[] const
2001-01-23 15:56:46 +00:00
lukem
c9578df033
sprinkle some _DIAGASSERT()s in
2001-01-09 07:18:49 +00:00
christos
ca976de449
const castaways.
2001-01-05 23:02:00 +00:00
itohy
9bdf22f648
Correct ctype(3) usage, just in case....
2000-07-14 05:26:04 +00:00
itojun
74d0ceb979
correct memory leak due to t_getstr() and realloc(). the commit will
...
prevent "top -s 0" from chewing up memory.
TODO: realloc() audit, revisit recent termcap/curses changes
2000-06-02 13:13:07 +00:00
lukem
26df59590e
Change third arg of tputs() from void (*)(int)' to
int (*)(int)'.
...
This is in line with the Single UNIX Spec, Solaris, Linux, FreeBSD, ...
1999-10-04 23:16:50 +00:00
lukem
d896261208
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
...
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem
b48252f365
* use _DIAGASSERT() to check pointer arguments against NULL and file
...
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.
the first two items result in the addition of code similar to the
following in various functions:
_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
1999-09-16 11:44:54 +00:00
blymn
c04ccf9dbf
Updated library minor version and fixed small type glitch (limit is now
...
size_t not int)
1999-08-16 08:34:33 +00:00
blymn
1bb0398527
Added new interface to termcap that allows the manipulation of multiple
...
termcap entries simultaneously and lifts the 1024 byte limit on the termcap
entry. The original termcap api is unchanged but also no longer has
the 1024 byte limit if the termcap functions are used.
1999-08-15 10:59:01 +00:00
christos
de40255ddb
Don't include <sgtty.h>! Nothing uses it.
1999-02-02 12:34:56 +00:00
mycroft
a5fbe304ec
const poisoning.
1998-07-27 01:55:23 +00:00
lukem
22630e700a
install <termcap.h> (was from libedit), and use here...
1997-10-13 16:11:41 +00:00
lukem
ae6b9c674a
WARNSify
1997-10-09 11:58:15 +00:00
pk
8ad14ce320
Correct tputs() argument declaration.
1995-06-06 08:14:37 +00:00
pk
41621edd10
Prototypes (PR#1103).
1995-06-05 19:45:48 +00:00
cgd
41f1c39f00
clean up import, roll forward local fixes, clean up Ids
1995-02-27 10:18:34 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00