Poul-Henning Kamp
89e3b80fa2
Fix a very rare error condition: The code to free VM back to the kernel
...
as done after a quasi-recursive call to free() had modified what we
thought we knew about the last chunk of pages.
This bug manifested itself when I did a "make obj" from src/usr.sbin/lpr,
then make would coredump in the lpd directory.
1996-09-17 19:50:23 +00:00
Andrey A. Chernov
cb07d7668c
Add comment explaining what function does
...
Cover strcoll return 0 case too
1996-09-17 19:27:06 +00:00
Bruce Evans
eaa86f9d7f
Don't use __dead or __pure in user code. They were obfuscations
...
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
Paul Traina
e295af15d1
fwopen() argument type mis-described
...
Obtained from: NetBSD lib/2751 (der Mouse)
1996-09-13 19:14:12 +00:00
Bruce Evans
3f82e3eaac
Fixed non-removal of old libresolv_p.a.
...
Cleaned up formatting.
1996-09-11 01:23:11 +00:00
Peter Wemm
2fdc74a617
Change the last -Wall cleanup so that the tputs declaration doesn't
...
conflict with the other declarations in other files. tputs() is
traditionally declared to return int, not void. curses.h has it as int.
ncurses has int and actually sets the return value. This problem has
been causing the ircII port to not compile.
(I've only minimally tested this, I do not have libtermcap on my systems)
1996-09-10 12:42:10 +00:00
Peter Wemm
863a1dba3a
Resync statfs struct with sys/mount.h.
1996-09-07 21:50:31 +00:00
Peter Wemm
bfef935198
clean up some warts Bruce pointed out.
...
- no longer build or install libresolv.a, since we were immediately
deleting it in afterinstall.
- untangle $LIBDIR and $SHLIBDIR
1996-09-07 17:58:36 +00:00
Peter Wemm
d1688295c8
use termios when POSIX is defined in the Makefile, not sgtty
1996-09-07 17:31:37 +00:00
Jordan K. Hubbard
479c200dea
Don't smash attributes when turning color values off. This was submitted
...
as a PR to GNATs but it evidently went astray somehow since I can't find
it in the database now, nor does an assigned PR# appear on the mail I got.
Sorry about that, Danny!
Submitted-By: Danny R. Johnston <danny@simn.com>
1996-09-06 05:55:48 +00:00
Bruce Evans
36d4ab45ac
Use a more robust check for ss_err.h existing. This header isn't
...
built early enough to always be installed by the `includes' target
in /usr/src/Makefile. This is supposed to be handled by not
installing it if it doesn't exist. However, a stale, uninstallable
copy sometimes exists in the source directory, and the existence
test sometimes found the wrong copy.
1996-09-05 21:22:51 +00:00
Peter Wemm
072e545d23
Regenerate
1996-09-05 19:22:15 +00:00
Bruce Evans
5b963fa12e
Fixed DPADD.
1996-09-05 17:16:10 +00:00
Bill Paul
78cf917e3d
Apply patch to fix +group YP overrides and prevent SEGV on badly
...
formatted groups (foo:*).
1996-09-05 12:27:24 +00:00
Bruce Evans
680b396b51
Removed unused `-I.'s from CFLAGS.
...
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory. It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
Peter Wemm
583c43dfe0
add back stub libresolv
1996-09-03 13:24:59 +00:00
Peter Wemm
6a4f4039bc
Install in /usr/lib/compat where ld.so can find it for older binaries,
...
but autoconf/ld/etc won't find it for new builds..
1996-09-03 13:22:58 +00:00
Andrey A. Chernov
98d7138100
Describe POSIX saved IDs behaviour better
1996-09-03 11:32:01 +00:00
Poul-Henning Kamp
b7bc7f6885
Add cfree,
...
Move to usr/lib/compat
1996-09-02 13:15:01 +00:00
Andrey A. Chernov
64839956f6
Describe current behaviour (_POSIX_SAVED_IDS are ON),
...
traditional BSD4.4 behavior (_POSIX_SAVED_IDS are OFF) was described
before.
Add some hooks to easily change this text when
POSIX_SAVED_IDS model will be changed.
1996-09-01 22:42:13 +00:00
Jordan K. Hubbard
55158625b4
Intelligently cache previous connection to host if we can still
...
use it.
Correct a typo bogon that had REST mistyped as RETR. No wonder fetch's
restart command didn't work! :-(
1996-08-31 22:02:18 +00:00
Bruce Evans
e0c95ed947
Fixed the easy cases of const poisoning in the kernel. Cosmetic.
1996-08-31 16:52:44 +00:00
Bruce Evans
09a8dfa260
Don't depend in the kernel on the gcc feature of doing arithmetic on
...
pointers of type `void *'. Warn about this in future.
1996-08-31 14:48:13 +00:00
Peter Wemm
c5c39d241c
- libc self contained again.
...
- sync up source files with main libc
1996-08-30 21:26:05 +00:00
Peter Wemm
bc4c97465a
consistancy fixup
...
Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
1996-08-30 21:21:52 +00:00
Peter Wemm
f991bb5181
Sigh, back out the last bright idea I had here about compiling the res_*
...
routines from contrib/bind directly. There were too many problems,
including having to add -DUSE_OPTIONS_H to the entire libc source in
order for the contrib code to pick up it's options, and so on.
Instead, I've merged the changes, libc is now self contained again.
1996-08-30 21:13:42 +00:00
Adam David
93ae833698
pick up the resolver sources from contrib
1996-08-30 20:51:09 +00:00
Peter Wemm
bc7413d0a3
back out last two changes, this caused the mandoc pages to be replaced by
...
man pages. I'll fold in the real changes in a seperate commit.
1996-08-30 19:40:05 +00:00
Peter Wemm
7cf4460f12
oops, install termcap.h from ${.CURDIR}, not the obj dir.
...
Pointed out by: asami
1996-08-30 16:38:45 +00:00
Peter Wemm
345be915f7
cmp -s || install -c ==> install -C
1996-08-30 02:12:07 +00:00
Peter Wemm
755a872065
Replace some bizzare AT&T(?) make macros (``${*F}'' ??!?!?!?)
...
Use more conventional implicit rule
1996-08-30 02:02:09 +00:00
Peter Wemm
f14fa9f7cc
cmp -s || install -c ==> install -C, use .for loop for includes
1996-08-30 01:59:46 +00:00
Peter Wemm
c7098a51b3
.include "bsd.prog.mk" -> .include <bsd.prog.mk>
1996-08-30 01:59:14 +00:00
Peter Wemm
62217f350b
cmp -s || install -c ==> install -C, use a .for loop
1996-08-30 01:53:09 +00:00
Peter Wemm
c5c878699b
cmp -s || install -c ==> install -C
1996-08-30 01:51:09 +00:00
Peter Wemm
b7e5f46aed
Add missing DPADD, remove duplicate -ltermcap
1996-08-30 01:50:07 +00:00
Peter Wemm
1d4b71eaa3
Don't create/install libc_r_pic.a
1996-08-30 01:43:15 +00:00
Peter Wemm
dce96329a9
cmp -s || install -c --> install -C
1996-08-30 01:41:52 +00:00
Peter Wemm
af91b5abda
Quick hack to replace a destructive libresolv.so.2.0 with something
...
that transparently resolves references to libc.
1996-08-30 01:14:40 +00:00
Peter Wemm
2eb5b7c878
Add a missing ${ on a make variable..
1996-08-30 01:08:03 +00:00
Peter Wemm
a4c5661fb7
oops, brain-lapse caused undefined symbol
1996-08-30 00:26:49 +00:00
Peter Wemm
fdf4c7af04
The last commit failed part-way through, re-add the generated
...
resolver man pages.
1996-08-29 22:13:00 +00:00
Peter Wemm
d72ca8598d
Revert change to build the reolver man pages on the fly, install the
...
machine-generated versions
1996-08-29 22:06:51 +00:00
Wolfram Schneider
28eac3d225
function appeared in Version 7 AT&T UNIX
...
Obtained from: ftp://netlib.att.com/netlib/att/cs/v7man/man2
1996-08-29 21:24:19 +00:00
Peter Wemm
0f10dec0a6
Knock libresolv out of the SUBDIR for the moment while it doesn't build.
1996-08-29 20:17:12 +00:00
Peter Wemm
5ce1c533c7
Merge in bind-4.9.4-P1 resolver...
1996-08-29 20:08:19 +00:00
Peter Wemm
6fa0553605
regenerated..
1996-08-29 19:33:04 +00:00
Chuck Robey
f4c7de38f9
Committing the output of mkMakefile.sh, including changes to make
...
tcl install extra include files, and fixes on major/minor numbering.
Reviewed by: Peter Wemm
1996-08-29 18:02:03 +00:00
Peter Wemm
83932f4771
Regenerate Makefile with mkMakefile.sh, add generated tclConfig.sh
1996-08-29 10:40:03 +00:00
Bruce Evans
1f403fcfbf
Cleaned up interrupt masking by declaring the state variable in a
...
machine-dependent macro and passing it to all machine-dependent
macros.
Eliminated the state variable for the GUPROF case.
1996-08-28 20:15:32 +00:00