Commit Graph

1792 Commits

Author SHA1 Message Date
brian
c9cf08e905 Update to version 2.2. Only the PacketAlias*()
functions should now be used.  The old 2.1 stuff is
there for backwards compatability.
Submitted by:	Charles Mott <cmott@snake.srv.net>
1997-08-03 18:20:03 +00:00
ache
e80e7192e4 Remove collate_range_cmp, was left for temp. backward compatibility 1997-08-03 18:04:39 +00:00
jdp
77516da96f Implement dlsym(RTLD_NEXT, symbol). 1997-08-02 04:56:44 +00:00
phk
3c32526572 Move tcl packages to libdata/pkg 1997-08-01 13:16:40 +00:00
ache
1ec4eb2c14 Fix handling of mixed colors+attributes case by merging from ncurses 4.1 1997-07-30 19:04:08 +00:00
ache
12b44cc775 Fix logical background handling by merging it from ncurses 4.1
No new user-visible functions added
1997-07-30 17:21:39 +00:00
ache
30edb9d1fd ifdef out ttytype definition, mytinfo not have it and configure confused 1997-07-30 03:26:37 +00:00
msmith
39dde0bc00 Improve dependancy behaviour a little more.
This is still pretty disgusting.

Submitted by:	bde
1997-07-28 03:33:04 +00:00
ache
17be846fc2 Add getbkgd() macro 1997-07-27 21:01:16 +00:00
phk
d03964a3c1 Remove a reference to /c/phk, this should be handled by the magic script
in src/tools.
1997-07-27 20:21:05 +00:00
msmith
e816ad497b List help.h a a dependancy for editline.c
Use 'beforedepend' instead of '.depend' to hang automatically-generated
headers off.

XXX the latter is bogus without a 'beforeall' target and explicit ordering
of dependancy generation for targets.
1997-07-27 10:47:49 +00:00
jdp
fac6b2f333 Fix a minor typo. It only affects the sparc version. 1997-07-26 03:43:14 +00:00
pds
5cfcc097be Added bounds checking to the example after chasing down someone's
broken code where they'd copied the example basically verbatim and
blew an array. (engage brain before typing 'make')
1997-07-26 00:47:06 +00:00
phk
752f3b370e Tada!, tcl is now at 8.0b2 I belive. 1997-07-25 19:51:45 +00:00
msmith
2322ea6f43 Reorder decomposition of the filename argument for the '-h' flag to
avoid misprocessing in the case where the filename argument contains
more than one period.

Submitted by:	micke@dynas.se (Mikael Hybsch)
1997-07-23 18:23:42 +00:00
charnier
7651d0b9aa = -> ==, strcpy -> strncpy from OpenBSD.
update man page. Add usage().
Obtained from: OpenBSD
1997-07-22 07:39:43 +00:00
bde
4fd7782771 Add to CLEANFILES instead of setting it absolutely. Cleaning of *.S and
tags was broken.
1997-07-21 16:02:09 +00:00
davidn
02c15ba667 sleep() after sending 'nologin' file to ensure output is drained before
disconnect.
1997-07-19 04:47:05 +00:00
peter
c24fab8ccb Make sleep() and usleep() "eat" any stray SIGALRM signals during the
lifetime of the call, just like the old implementation did.  Previously,
we were only eating them if the application did not call sleep()/usleep()
with SIGALRM masked.

Submitted by:	ache
1997-07-18 09:48:37 +00:00
asami
58a7ac16ae Add appropriate ${DESTDIR} in front of absolute paths. 1997-07-18 07:27:56 +00:00
asami
f5aebd03a4 Add ${DESTDIR} in front of absolute path. 1997-07-18 06:32:39 +00:00
phk
01f1a5c82d realpath() should break on looped symlinks.
PR:		3911
Reviewed by:	phk
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-07-16 11:25:48 +00:00
jdp
7d0bef9462 Kill this file really dead. The default branch was cleared, even
though the file was still on the vendor branch.  I don't know why.
It doesn't look like the cvs-add-on-a-branch bug that we already
know about.
1997-07-15 16:45:50 +00:00
msmith
9733365a76 Fix vi-mode searching broken with the NetBSD changes update.
PR:		bin/4064
Submitted by:	Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-07-14 13:21:08 +00:00
bde
50c1a7cdeb Fixed minor bugs related to the addition of gammaf.
The major bug, that gamma is documented as really being gamma, is
still unfixed.
1997-07-13 14:45:28 +00:00
peter
1a608ac729 kill the undead 1997-07-13 14:26:00 +00:00
bde
97ea0bd511 Fixed quoting of backslash. 1997-07-13 07:28:06 +00:00
peter
85e6de78dd Add a quick description of sysctlbyname() and link sysctl.3 to
sysctlbyname.3
1997-07-12 11:16:18 +00:00
peter
b7a2d22e6c Have sysctlbyname() take a const first arg (the ascii string) 1997-07-12 11:14:30 +00:00
adam
466ece4254 execve of interpreter files
reword for grammar/clarity
1997-07-08 18:27:38 +00:00
peter
93a53ac568 Rework previous commit.. I was confused by the number of diffs in the PR
and forgot what I was trying to do originally and accidently zapped
a feature. :-]  The problem is that we are converting a counted buffer in
a malloc pool into a null terminated C-style string.  I was calling realloc
originally to shrink the buffer to the desired size.  If realloc failed, we
still returned the valid buffer - the only thing wrong was it was a tad
too large.  The previous commit disabled this.

This commit now handles the three cases..
1: the buffer is exactly right for the null byte to terminate the
string (we don't call realloc).
2: it's got h.left = 0, so we must expand it to make room. If realloc
fails here, it's fatal.
3: if there's too much room, we realloc to shrink it - a failed realloc
is not fatal, we use the original buffer which is still valid.
1997-07-06 08:42:37 +00:00
peter
078cf3b9d1 Fix off-by-one error
PR: 3451
Submitted by: Tim Vanderhoek <ac199@hwcn.org>
1997-07-06 07:54:56 +00:00
bde
1fc2a57bac Kill histedit.h again. Importing Lite2 brought it back for some reason
(although it hasn't changed).
1997-07-03 04:15:01 +00:00
bde
a9581f1d11 This commit was generated by cvs2svn to compensate for changes in r27180,
which included commits to RCS files with non-trunk default branches.
1997-07-03 03:28:27 +00:00
bde
e4673e648e Import Lite2's src/lib, except for non-i386 machine-dependent directories,
libc/db, libc/gen/crypt.* and libtelnet.  All affected files except 3
unimportant ones have already left the vendor branch.
1997-07-03 03:28:27 +00:00
phk
cb9d464cf1 Have another go at the malloc-sysv initialization.
PR:		4002
Pointed out by:	bde
1997-07-02 19:33:23 +00:00
phk
2938560c9b malloc_sysv used before initialized, reported in PR4002 by
Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>

Various cleanup from Keith Bostic

Reinstate calloc() as a separate funtion, in its own source/object file.
leave the manpage integrated with malloc.3 and friends.  Too many things
were broken in this respect.

PR:		4002
Reviewed by:	phk
Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
Submitted by:	Keith Bostic <bostic@bostic.com>
1997-07-01 18:39:38 +00:00
jkh
39dc1e70de Add 64 bit int support to scanf()
PR:		2080
Submitted by:	David Dawes <dawes@rf900.physics.usyd.edu.au>
1997-07-01 17:46:39 +00:00
jkh
94e195cf1d _err() -> err(). 1997-06-29 00:33:17 +00:00
peter
78a457bdd0 replace the OpenBSD fd_set sizing code with something more efficient.
Only call malloc() if the fd is too big for the compiled in fd_set size,
and don't use calloc either.  This should reduce the impact of conflicts
with private malloc implementations etc.  When using the fd_set on the
stack, only zero what is needed rather than all 1024 bits like FD_ZERO did.
1997-06-28 04:19:52 +00:00
peter
b864dabbe8 Dynamically size fd_set in select rather than fail if too many files
are open.
Obtained from: OpenBSD; by deraadt and dm
1997-06-27 13:00:51 +00:00
ache
e1db55b993 ctype: portability, sign extension and cleanup fixes 1997-06-27 11:50:56 +00:00
ache
fe55eb2812 Move editrc.5 from MAN3 to MAN5 1997-06-27 11:16:28 +00:00
peter
0fb30beee7 compensate for res_send <-> __res_send changes 1997-06-27 08:35:13 +00:00
peter
e0fb632fd1 Merge in bind-4.9.6 resolver changes. Note that they resolve the
overflow problem differently.
1997-06-27 08:22:03 +00:00
tegge
033649779e Fill in parent process id when reading process information from a
memory dump. This fixes one of the problems noted in PR kern/3581.
1997-06-25 20:56:48 +00:00
msmith
d13bc3d755 Pull histedit.h out, it lives in /usr/src/include, not here. 1997-06-25 09:49:06 +00:00
msmith
304a3cf717 Add extra test functionality.
Obtained from:	NetBSD
1997-06-25 08:14:45 +00:00
msmith
4c86e5edb8 Update libedit with changes from NetBSD. Includes history load/save,
some buffer overflow guards and some stylistic cleanups.
Also adds manpages.

Obtained from:	NetBSD
1997-06-25 08:14:24 +00:00
msmith
ec5afc112d Add stringlist functions from NetBSD. (required for the new ftp(1)
Obtained from:	NetBSD
1997-06-25 08:05:03 +00:00