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
Bruce Evans
2aa9f7ca2c
Made rintf() actually work. It was completely broken (when s_rint.c
...
was compiled with -O) by the precision bug in the i386 version of
gcc (assignments and casts don't clip the precision). E.g.,
rintf(12.3456789) was 12.125.
Avoid the same bug in rint(). It was only broken for the unusual
case when the i387 precision is 64 bits. FreeBSD defaults to 53
bit precision to avoid problems like this, but the standard math
emulator always uses 64 bit precision.
1996-08-28 16:34:36 +00:00
Peter Wemm
3d98454e50
Delete -DGOOD_SELECT from CFLAGS, we don't have it. This is used to
...
indicate that select() returns the leftover time remaining in the timeval
arg of select, we don't do that (yet :-).
1996-08-26 09:25:20 +00:00
Jordan K. Hubbard
50525d70d9
D'oh! verbose output should go to stderr.
1996-08-24 09:51:59 +00:00
Mike Pritchard
6c65d95969
Some minor man page cleanup.
1996-08-23 20:52:53 +00:00
Mike Pritchard
7a5396c1b0
Typo police.
1996-08-23 00:26:01 +00:00
Mike Pritchard
7bdf80e571
Correctly use .Fn instead of .Nm to reference function names
...
in a bunch of man pages.
Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros
instead of explicitly specifying the version in the text
in a bunch of man pages.
1996-08-22 23:31:07 +00:00
Mike Pritchard
bf5a138ec4
Update a bunch of man pages to use .Fn instead
...
of .Nm when referencing funciton names.
1996-08-22 22:05:59 +00:00
Mike Pritchard
d9cd459bc6
List all of the include files required for getpeername and getsockname.
...
Closes PR# 1170.
Submitted by: James Raynard <jraynard@dial.pipex.com>
1996-08-22 20:49:57 +00:00
Julian Elischer
5eaf55414c
Submitted by: john birell (jb@cimlogic.com.au)
...
fixups for makefiles
and for Thread-safe sycalls
1996-08-22 04:25:09 +00:00
Julian Elischer
e0d898b48e
Some cleanups to the callout lists recently added.
...
note that at_shutdown has a new parameter to indicate When
during a shutdown the callout should be made. also
add a RB_POWEROFF flag to reboot "howto" parameter..
tells the reboot code in our at_shutdown module to turn off the UPS
and kill the power. bound to be useful eventually on laptops
1996-08-22 03:50:33 +00:00
Mike Pritchard
a2d402aa3c
Update some more man pages to use the .Fx macro.
1996-08-21 22:10:36 +00:00
Mike Pritchard
1702c53ed2
Improve some poor wording.
1996-08-21 21:30:02 +00:00
Mike Pritchard
c119f6297f
Fix up the NAME lines forthe ceil and floor man pages to be
...
less confusing.
Reviewed by: bde
Partially obtained from: NetBSD-bugs
1996-08-21 21:23:47 +00:00
Mike Pritchard
7b4e5796b9
Correctly document when getopt returns EOF and '?', and some other
...
minor cleanup.
1996-08-21 19:48:50 +00:00
Paul Traina
9f6ca50ce7
Uniquely name the distribution directory variable so that it can be overridden
...
for multiple packages at the same time.
1996-08-21 16:50:15 +00:00
Jordan K. Hubbard
92d084569b
Implement a change suggested by Archie Cobbs - the seekto argument should
...
be zero'd only if the operation *fails*, indicating that the file
starting offset is effectively zero. This makes more sense.
1996-08-21 01:23:33 +00:00
Jordan K. Hubbard
6f828b77f3
Add an ftpErrString() function for returning human readable failure
...
codes.
Submitted-By: Archie Cobbs <archie@whistle.com>
1996-08-21 01:12:11 +00:00
Andrey A. Chernov
9d6a993656
Add Id
...
Move comment up to place
1996-08-20 21:16:53 +00:00
Andrey A. Chernov
a540d32bde
Add isblank attr to non-break space
...
Add comment describing how upper half of table made
1996-08-20 14:43:58 +00:00
Andrey A. Chernov
59460dc4ff
Remove isgraph attr from non-break space
1996-08-20 14:27:26 +00:00
Julian Elischer
0f7d684755
Submitted by: John Birrell <cimaxp1!jb@werple.net.au>
...
Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).
I've created a new header (pthread_np.h) for the non-POSIX stuff.
The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.
also:
Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.
also:
I should have sent this diff with the pthread(3) man page.
It allows people to type
make -DWANT_LIBC_R world
to get libc_r built with the rest of the world. I put this in the
pthread(3) man page. The default is still not to build libc_r.
also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
1996-08-20 08:22:01 +00:00
Sujal Patel
1bbb22c82e
Reflect the removal of the kernel's FD_SETSIZE limit.
1996-08-20 07:26:20 +00:00
Paul Traina
0db59933da
Bump shared library number to 2.1
1996-08-20 05:43:51 +00:00
Paul Traina
bf18e76ab6
Grab libpcap sources out of contrib_libpcap module
1996-08-19 21:01:37 +00:00
Peter Wemm
c6422b8e82
corresponding remove of mkdir /usr/libdata/tcl in generated makefile.
1996-08-19 15:04:11 +00:00
Peter Wemm
6141261f71
Define ETHER_SERVICE, since we have one. ie: use getetherxxx() instead
...
of parsing /etc/ethers manually. This allows it to read NIS.
1996-08-19 14:23:50 +00:00
Peter Wemm
7b9dff76d5
Clean up the beforeinstall target a bit more, bde pointed out that the old
...
one was a mess. (I was in a 'talk' session at the time, can you tell? :-)
1996-08-19 01:21:46 +00:00
Peter Wemm
fd86e51e98
oops.. attempted to install header files from wrong directory..
1996-08-18 23:52:20 +00:00
Peter Wemm
d3065f15eb
insert libipx and libdisk into correct order, add libz
1996-08-18 18:57:00 +00:00
Peter Wemm
b1c8a8dffe
Add a bmakefile for zlib.
1996-08-18 17:59:48 +00:00
Peter Wemm
b91de0e172
This commit was generated by cvs2svn to compensate for changes in r17651,
...
which included commits to RCS files with non-trunk default branches.
1996-08-18 17:54:27 +00:00
Peter Wemm
ac0a48f6a5
Initial import of zlib-1.0.4
1996-08-18 17:54:27 +00:00
Wolfram Schneider
eddc44c480
A pipe function call appeared in Version *3* AT&T UNIX, not
...
Version 6. Close PR #1490
Obtained from: Peter H. Saulus in `A Quarter Century of UNIX', page 50
1996-08-18 11:28:16 +00:00
Jordan K. Hubbard
4ade2461ae
Go back to sigaction again now that Peter has found the problem.
...
Mine was just a "let's move on" kinda fix, Peter's does it right. :)
Submitted-by: peter
1996-08-16 07:53:29 +00:00
Jordan K. Hubbard
84e01e8053
Switch from using sigaction to signal.
1996-08-15 21:13:53 +00:00
Mike Pritchard
53cd648388
Don't claim to be POSIX compliant, since our alarm function isn't.
1996-08-15 21:12:49 +00:00
Jordan K. Hubbard
07f01d546f
Make libncurses catch SIGWINCH and update the values for LINES and COLS.
...
I was perplexed when an example I'd written to show the values for these
variables changing as an xterm window was resized didn't work, and looking
into it I see that size tracking for LINES and COLS seems to be one SVR4
enhancement which didn't come across with libncurses.
1996-08-15 21:06:52 +00:00
Mike Pritchard
05bdf2ff0b
NCARGS is defined as 65536 in the released system, not 20480.
1996-08-15 21:04:29 +00:00
Mike Pritchard
586d7a09f3
Correct a cuple of improperly formatted xrefs.
1996-08-15 20:29:04 +00:00
Jordan K. Hubbard
d1dd4d6ef0
Add something so that you can solve the puzzle automatically by pressing
...
`a' (I'm using this code as a test for something else, and just happened
to add this in the process :).
1996-08-15 20:15:18 +00:00
Andrey A. Chernov
5feb86a405
Add Id
1996-08-14 19:47:02 +00:00
Peter Wemm
1ec21d5930
Fix nasty bracketing/precedence bug. Every time something read (and
...
refilled) a file that was either line- or un-buffered, all files were
flushed. According to the code comment, the flush (according to ANSI)
is supposed to happen on write + line buffered output files, not _all_
files.
Obtained from: OpenBSD / Theo de Raadt, possibly from proven@cygnus.com
1996-08-13 17:49:45 +00:00
Andrey A. Chernov
c2bfae006a
Back out fallback approximation changes, they are not so right to live
1996-08-13 17:03:18 +00:00
Andrey A. Chernov
298f0ef3a2
Add collate_range_cmp
1996-08-13 14:55:09 +00:00
Andrey A. Chernov
2c4b0dffec
Back out minor bumping per Peter suggestion
1996-08-13 14:37:53 +00:00
Andrey A. Chernov
83d8106e1a
simplify/speedup/extend
1996-08-13 13:38:35 +00:00
Andrey A. Chernov
ce78364150
Bump minor number - new function added
1996-08-13 10:00:35 +00:00
Andrey A. Chernov
b339a4060f
Remove old version hooks
1996-08-12 19:18:47 +00:00
Andrey A. Chernov
acd9f20695
Convert to newly aded collate compare function
1996-08-12 18:56:38 +00:00
Andrey A. Chernov
79deb12410
Convert to newly aded collate compare function
1996-08-12 18:49:54 +00:00
Andrey A. Chernov
883a3266d1
There is so many places where range comparation (using collate)
...
needed (much more than I think initially), so I forced to add
new user-visible non-standard function to libc.
1996-08-12 18:38:49 +00:00
Peter Wemm
ce70b6caf8
clear sockaddr_in's on stack before use
...
set sin_len
close one ftp port bounce attack
have rresvport() use bindresvport() rather than duplicate the code,
rresvport() is a superset of bindresvport().
Obtained from: OpenBSD / Jason Downs / Theo de Raadt, minor tweaks by me.
1996-08-12 14:14:09 +00:00
Peter Wemm
cf2fcd35dd
Use the more robust and more efficient reserved port allocation mechanism
...
now built into bind(2).
Obtained from: OpenBSD / Jason Downs / Theo de Raadt
1996-08-12 14:09:46 +00:00
Peter Wemm
54edc0bbbf
clear various struct sockaddr_in's on stack, set sin_len.
...
(Noticed when comparing to OpenBSD source)
1996-08-12 14:00:26 +00:00
Andrey A. Chernov
0fa1b0ba1f
Use collate info for alpha character ranges
...
8bit cleanup
1996-08-12 12:13:16 +00:00
Andrey A. Chernov
36a00a4b79
Use collate for alpha character ranges
1996-08-12 04:03:50 +00:00
Andrey A. Chernov
c73ac73fb4
Remove static collcmp, use new internal function now
1996-08-12 03:51:16 +00:00
Andrey A. Chernov
89ec343a7f
Remove static collcmp, ise new internal function now
1996-08-12 03:45:53 +00:00
Andrey A. Chernov
2eecfbac3a
Add internal function __collcmp once instead of adding it statically
...
to many places in the libc
1996-08-12 03:40:37 +00:00
Andrey A. Chernov
b92a8919d1
Use collate for alpha character ranges
1996-08-12 02:00:56 +00:00
Andrey A. Chernov
6f99f89bbe
8bit cleaness (ctype) fixes
1996-08-11 19:20:30 +00:00
Andrey A. Chernov
5c551438ec
Use collate data for national alpha character ranges like [a-z]
1996-08-11 16:08:17 +00:00
Andrey A. Chernov
3073507540
Short value is better for hash due to easy overflow in 8bit characters
1996-08-11 11:49:23 +00:00
Andrey A. Chernov
b5363c4a3b
Use locale for character classes instead of hardcoded values
...
Misc 8bit cleanup
1996-08-11 11:42:03 +00:00
Jordan K. Hubbard
e0d275f1a6
Yeesh! I shouldn't have looked. Fix a whole bunch more. Pray
...
for ncurses to replace this soon.
1996-08-10 13:37:02 +00:00
Jordan K. Hubbard
fb5420bb4d
Fix an exceedingly confusing typo.
1996-08-10 13:30:11 +00:00
Mike Pritchard
2ce08cb20b
Remove some hardcode *roff font change escape codes from
...
this man page to prevent half of it from coming out with underlines.
This man page needs to be gone over to fully convert it to mdoc format.
This closes PR#1440.
Submitted by: Jens Schweikhardt <schweikhardt@rus.uni-stuttgart.de>
1996-08-06 22:42:23 +00:00
Mike Pritchard
47cc13c104
Correct the paramter type of the second argument to fgets.
...
Obtained from: NetBSD-bugs mailing list
1996-08-06 22:34:44 +00:00