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
540421553f
Added minor tweak to t_getstr, by passing a NULL area pointer the size
...
of the requested capability will be returned in the limit parameter.
1999-08-17 12:13:24 +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
tron
4a02fc690c
Add missing declarations of external variables "PC", "BC", "UP" and
...
"ospeed" which are listed in termcap(3). Fixes PR lib/8147 by
Richard Earnshaw.
1999-08-14 13:56:48 +00:00
simonb
6bf3aa19f9
More trailing white space.
1999-07-02 15:46:05 +00:00
garbled
38c96853cf
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Wheee!
1999-03-22 19:44:33 +00:00
abs
2ffb059188
If we have to truncate the entry, try hard to truncate on a whole cap.
1999-03-22 03:26:43 +00:00
abs
edc1a24a56
Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
...
RCS Id.
1999-02-25 08:02:19 +00:00
lukem
e3de1328d5
replace NOSTATICLIB with MKLINKLIB!=no - the former wasn't used anywhere else in the tree, and the latter seemed appropriate
1999-02-12 11:34:07 +00:00
lukem
76a2bd31c1
use MKxxx instead of NOxxx
1999-02-12 11:32:32 +00:00
christos
ae535838b4
ELF not alpha and mips.
1999-02-12 11:14:11 +00:00
christos
de40255ddb
Don't include <sgtty.h>! Nothing uses it.
1999-02-02 12:34:56 +00:00
agc
3f6ac2aece
Clean up lint - one set but unused variable, 3 FALLTHROUGH comments needed,
...
and two LP64-isms.
1998-10-14 13:51:36 +00:00
mycroft
a5fbe304ec
const poisoning.
1998-07-27 01:55:23 +00:00
cgd
d29dd9772c
link libtermlib_pic.a to libtermcap_pic.a, if the right vars are (un)set.
1998-05-08 03:11:02 +00:00
fair
1628920950
Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z]
1998-04-28 07:19:28 +00:00
ross
fdbd788c01
Fix broken LINKS+= line for ELF libtermlib install.
...
ALPHA/PMAX NOTE: rm "libermlib.so.0"
1998-04-20 01:35:44 +00:00
tv
1882b7131d
You cannot check SHLIB_{MAJOR,MINOR} without <bsd.lib.mk>, but LINKS is
...
needed before <bsd.lib.mk>. Instead, check for shlib_version file.
1998-04-18 15:46:22 +00:00
tv
6958fe8d9a
Get the NO* variables from bsd.own.mk, and then set LINKS accordingly
1998-04-18 15:26:20 +00:00
tv
39f813538e
Don't try to make a link to libtermlib.a if NOSTATICLIB is set (there's no
...
libtermcap.a)
1998-04-15 19:29:58 +00:00
jonathan
a369db44b3
Add more LINKS+= lines to make (hard) links from libtermcap to libterm as
...
required by ELF toolchain.
Don't use symlinks links as bsd.lib.mk does for ELF, because
bsd.link.mk creates symlinks before it creates the hard link.
1998-02-23 00:31:07 +00:00
perry
312aca536f
add LIBRARY section to man page
1998-02-05 18:45:17 +00:00
perry
0b7831a37b
remove obsolete register declarations
1998-02-03 19:12:13 +00:00
perry
4e067afcb1
RCS Id Police.
1998-01-09 03:15:09 +00:00
perry
93db5caa95
RCSID Police.
1998-01-05 07:41:06 +00:00
lukem
ffa18634c4
use CPPFLAGS instead of CFLAGS
1997-10-23 03:27:34 +00:00
lukem
22630e700a
install <termcap.h> (was from libedit), and use here...
1997-10-13 16:11:41 +00:00
lukem
5542a7ca43
- define WARNS?=1 in the top-level Makefile.inc, and don't define
...
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
cleaned up
- rcsid police
lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.
1997-10-09 14:36:17 +00:00
lukem
ae6b9c674a
WARNSify
1997-10-09 11:58:15 +00:00
mrg
2d2ae90504
note possible security concerns.
1997-04-22 12:33:17 +00:00
mikel
353ffc1765
add bounds-checking code to make sure we don't overflow the static
...
buffer. it's gross, but there's no real alternative. fixes PR 3330.
1997-03-14 07:56:39 +00:00
mrg
9cd5492c02
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
...
- some KNF.
1997-01-23 14:01:45 +00:00
lukem
2543e3e651
RCSid police
...
editline first appeared in 4.4BSD not NetBSD1.0
1997-01-11 06:47:47 +00:00
lukem
ecf9b458f4
remove leading 'l' in "-l ltermcap" (should be "-l termcap")
1997-01-06 04:38:41 +00:00
mikel
a41241b92a
/etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401.
1996-11-12 07:50:11 +00:00
pk
74dedb6ee2
Correct tputs() prototype (PR#2645).
1996-08-03 18:55:40 +00:00
jtc
be21c16fa0
hack to limit termcap strings to 1024 characters
1996-03-22 23:25:30 +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
cgd
1d23521104
from 4.4-Lite
1995-02-27 09:50:34 +00:00
cgd
ae9172d6cd
specify man pages the new way.
1994-12-22 09:57:51 +00:00
cgd
6b300e59b8
do the conditional stuff later, so it works with NOPROFILE
1994-12-20 15:51:13 +00:00
cgd
b1faf8936d
need string.h
1994-10-19 02:57:11 +00:00
cgd
6dc2f1db52
libedit!
1994-05-06 06:01:42 +00:00
deraadt
5d98f1c7e0
was freeing random data. fix from vdlinden@fwi.uva.nl (Frank van der Linden)
1994-04-18 12:35:39 +00:00
cgd
fe80c33c9c
clean up; use standard headers and functions, rather than local def'ns.
1994-01-24 23:40:10 +00:00