Commit Graph

5132 Commits

Author SHA1 Message Date
wollman
22a09d534e libc.so should be installed immutable. 1994-08-26 18:59:39 +00:00
dg
292c4363f6 WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsu
<hsu@soda.berkeley.edu>.
   ...Moved over from 1.1.5. Other portions of this commit were done by moving
the RCS files into place directly.
1994-08-22 10:49:05 +00:00
jkh
4475596713 This is weird. I *added this*, but it went away again! Ummm.. Mumble.
I'm confused..
Submitted by:	jkh
1994-08-22 09:19:50 +00:00
jkh
ee89c5a365 Put __infinity back here again until someone does the right thing and
repartitions libc into something human again.  I don't have that kind of
time right now myself, unfortunately.
Submitted by:	jkh
1994-08-20 20:16:57 +00:00
dg
700593f434 Fixed problem with returning -1 on error when the return value is a
long long. Done by plugging both eax and edx with -1. This will clobber
edx unnecessarily when the return value is only 32bit...though probably
always an okay thing to do, it could stand a better fix.
   This was the cause of gawk being broken (boy was THAT ever a subtle
bug!!!).
1994-08-13 14:00:26 +00:00
wollman
01a149f01b Oops, forgot to cvs add this file. 1994-08-10 06:27:35 +00:00
wollman
f0e3ec0f96 Make it easier for programs to figure out what revision of FreeBSD they
are running under.  Here's how to bootstrap (order is important):

1) Re-compile gcc (just the driver is all you need).
2) Re-compile libc.
3) Re-compile your kernel.  Reboot.
4) cd /usr/src/include; make install

You can now detect the compilation environment with the following code:

#if !defined(__FreeBSD__)
#define __FreeBSD_version 199401
#elif __FreeBSD__ == 1
#define __FreeBSD_version 199405
#else
#include <osreldate.h>
#endif

You can determine the run-time environment by calling the new C library
function getosreldate(), or by examining the MIB variable kern.osreldate.

For the time being, the release date is defined as 199409, which we have
already established as our target.
1994-08-10 06:25:07 +00:00
wollman
08c11fa2ca Add back set_rpc_grouplistsize(), so mount_nfs compiles again. Also
fixed incipient bug wrt gid_t versus int.
1994-08-10 02:25:22 +00:00
wollman
d20aae3469 Fixed typo. 1994-08-09 22:44:12 +00:00
wollman
004c5a3482 Add (substantially re-written) support for /etc/host.conf, and reintegrated
1.1.5 support for YP, fixing a bug in 1.1.5 that prevented YP from ever
working reliably.  (I'm amazed that there were no bug reports.)

IWBRNI someone could write a host.conf(5) manual page.  Please look at
the code before doing so; this version is somewhat more flexible in the
format of its input.
1994-08-09 20:23:14 +00:00
jkh
274dc9f50a Add a missing backslash to get this to work again.
Reviewed by:
Submitted by:	jkh
1994-08-08 15:17:41 +00:00
wollman
356a80adea Added YP domain name getting/setting support, for SunOS/old program
compatibility.
1994-08-08 00:40:24 +00:00
wollman
905766ce24 Add back in the YP code from 1.1.5. (This attribution brought to you
by Theo de Raadt.)  Added a new make flag variable, NO_YP_LIBC, which
disables YP entirely.  User-land programs to come later.
1994-08-07 23:04:55 +00:00
wollman
5840c2bc03 More directory cleanup after YP merge. 1994-08-07 22:21:14 +00:00
wollman
7e6f5f8c5d Add Sun RPC documentation, which should eventually go into our PSD.
(I think I'm up to part 6.)
1994-08-07 18:46:28 +00:00
wollman
39d367d32e Moving RPC stuff into libc, part 2. 1994-08-07 18:39:35 +00:00
wollman
ad3e7cd01d Moving Sun RPC code into libc, part 1. Based on work done by a number of
people, including J.T. Conklin, Theo de Raadt, Paul Richards, and probably
someone else who's going to flame me as soon as they see this message.
1994-08-07 18:36:12 +00:00
dg
6b466831f4 Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
wollman
e017c781ca First crack at making libc work with the new make macros. It compiles on
my machine, and a simple static (genassym) and shared (sysctl) executable
both work.  Still to be done: RPCand YP merge.
1994-08-05 01:19:12 +00:00
csgr
a22e08d763 Rewrite nlist to mmap the whole a.out file (at Davidg's suggestion).
This means that we don't have to do rounding calculations for page
boundaries.  (We do all our accesses via the mmapped area now.)
Reviewed by:
1994-07-22 12:22:51 +00:00
rgrimes
a3ddeea37c Pull in GNU2 fix for this from FreeBSD, allows ldexp.c to compile with
gcc2.x
1994-05-27 11:00:56 +00:00
rgrimes
8b1c40bc18 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
be22b15ae2 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
e043687c62 This commit was generated by cvs2svn to compensate for changes in r1573,
which included commits to RCS files with non-trunk default branches.
1994-05-27 05:00:24 +00:00
rgrimes
cb2f2e712b BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
366dfaba19 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
eedec95276 BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
rgrimes
c5df1ac6c7 BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
rgrimes
5d98a33b2f BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
rgrimes
8b2b31265d BSD 4.4 Lite Include Sources 1994-05-24 09:57:34 +00:00
rgrimes
036e570b76 Add $Id$ to all, clean up multiple spaces 1994-02-21 05:19:06 +00:00
dg
5e9419ef4a WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsu
<hsu@soda.berkeley.edu>.
1994-01-31 12:05:32 +00:00