Commit Graph

1054 Commits

Author SHA1 Message Date
julian
7350d1d3b2 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
smpatel
60125bd1a9 Reflect the removal of the kernel's FD_SETSIZE limit. 1996-08-20 07:26:20 +00:00
pst
5bad8486ad Bump shared library number to 2.1 1996-08-20 05:43:51 +00:00
pst
a96a62bfac Grab libpcap sources out of contrib_libpcap module 1996-08-19 21:01:37 +00:00
peter
64bc90278b corresponding remove of mkdir /usr/libdata/tcl in generated makefile. 1996-08-19 15:04:11 +00:00
peter
85b8c8adb1 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
12c2419134 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
aec9a0c389 oops.. attempted to install header files from wrong directory.. 1996-08-18 23:52:20 +00:00
peter
ea45abeecf insert libipx and libdisk into correct order, add libz 1996-08-18 18:57:00 +00:00
peter
be0c1f6db0 Add a bmakefile for zlib. 1996-08-18 17:59:48 +00:00
peter
0e05ff77eb 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
70c83c0586 Initial import of zlib-1.0.4 1996-08-18 17:54:27 +00:00
wosch
378e268928 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
jkh
8425e7babb 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
jkh
50dd1004f2 Switch from using sigaction to signal. 1996-08-15 21:13:53 +00:00
mpp
0b26c0eb71 Don't claim to be POSIX compliant, since our alarm function isn't. 1996-08-15 21:12:49 +00:00
jkh
4d444750e2 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
mpp
950ac9c810 NCARGS is defined as 65536 in the released system, not 20480. 1996-08-15 21:04:29 +00:00
mpp
4ffbc44e4c Correct a cuple of improperly formatted xrefs. 1996-08-15 20:29:04 +00:00
jkh
66d80410db 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
ache
f29675f59d Add Id 1996-08-14 19:47:02 +00:00
peter
8542445a70 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
ache
3ba537ecfe Back out fallback approximation changes, they are not so right to live 1996-08-13 17:03:18 +00:00
ache
f82a6cb0ff Add collate_range_cmp 1996-08-13 14:55:09 +00:00
ache
10f7d69573 Back out minor bumping per Peter suggestion 1996-08-13 14:37:53 +00:00
ache
01dde070a3 simplify/speedup/extend 1996-08-13 13:38:35 +00:00
ache
b82434227d Bump minor number - new function added 1996-08-13 10:00:35 +00:00
ache
bc4e65eedc Remove old version hooks 1996-08-12 19:18:47 +00:00
ache
ffcd81205d Convert to newly aded collate compare function 1996-08-12 18:56:38 +00:00
ache
18e6a0b58f Convert to newly aded collate compare function 1996-08-12 18:49:54 +00:00
ache
956383bed8 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
665b6e261b 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
36d45bbacb 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
c2fcbeb6ff 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
ache
e853c12467 Use collate info for alpha character ranges
8bit cleanup
1996-08-12 12:13:16 +00:00
ache
e37075011a Use collate for alpha character ranges 1996-08-12 04:03:50 +00:00
ache
563eb69835 Remove static collcmp, use new internal function now 1996-08-12 03:51:16 +00:00
ache
ce519bc5d0 Remove static collcmp, ise new internal function now 1996-08-12 03:45:53 +00:00
ache
378240cb4b Add internal function __collcmp once instead of adding it statically
to many places in the libc
1996-08-12 03:40:37 +00:00
ache
95acc9d04c Use collate for alpha character ranges 1996-08-12 02:00:56 +00:00
ache
3c76730132 8bit cleaness (ctype) fixes 1996-08-11 19:20:30 +00:00
ache
95b1e45fe8 Use collate data for national alpha character ranges like [a-z] 1996-08-11 16:08:17 +00:00
ache
8b7847d9d5 Short value is better for hash due to easy overflow in 8bit characters 1996-08-11 11:49:23 +00:00
ache
bef006b8fc Use locale for character classes instead of hardcoded values
Misc 8bit cleanup
1996-08-11 11:42:03 +00:00
jkh
6d942cc83d 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
jkh
572c0d3285 Fix an exceedingly confusing typo. 1996-08-10 13:30:11 +00:00
mpp
87f551bb52 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
mpp
e1eb4abb60 Correct the paramter type of the second argument to fgets.
Obtained from: NetBSD-bugs mailing list
1996-08-06 22:34:44 +00:00
jkh
a4480ef9ca 1. Add verbose flag to ftp_login()
2. Remove pkg_* support - tcl7.5's channel interface has rendered this
   almost entirely unsupportable (at least in the way it currently stands).
Submitted-By: jmz & jkh
1996-08-03 11:58:54 +00:00
bde
23e54c57e9 Document that the relevant clock ticks are for the statistics clock
and that the statistics clock has a frequency of sysconf(_SC_CLK_TCK).
1996-07-30 17:32:49 +00:00