Commit Graph

180 Commits

Author SHA1 Message Date
dg
e16d30399d Don't include sys/exec.h. 1994-09-25 21:11:36 +00:00
pst
6f303e9935 remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
pst
4f0d0da86d get* rework and new bind code 1994-09-25 02:12:49 +00:00
wollman
b0059b7227 Document getvfsent() and kin. 1994-09-25 01:38:30 +00:00
wollman
81e5d29b29 Fix so that people who don't have LKMs compiled in their kernels don't
get hosed: vfsisloadable() always returns false if /dev/lkm cannot be
opened for writing.
1994-09-25 00:48:27 +00:00
ache
89b0add9b2 Call reduced (8-bit only) startup_setlocale() 1994-09-24 16:01:30 +00:00
ache
476696843b Make not-so-space-eaten locale version:
split modules to bring only neccessary functions,
eliminate sprintf, make reduced startup_locale version.
1994-09-24 15:59:33 +00:00
ache
b035e6b806 Fix bug in %i format, second argument not incremented 1994-09-24 14:16:04 +00:00
ache
58acd4e66c Fix bug with scroll region parameters (x changed to y) 1994-09-24 14:15:16 +00:00
dg
8722740e7f Added $Id$ 1994-09-24 02:59:15 +00:00
wollman
a39c6d0505 If sysctl() fails, return "/kernel" so as not to screw people who haven't
updated their kernels yet.
1994-09-24 00:10:13 +00:00
wollman
193a8fae68 Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
1994-09-24 00:08:43 +00:00
wollman
89231ffae7 Added getbootfile(3), for an easy C interface to the kern.bootfile MIB
variable.  This one's even documented!
1994-09-23 20:22:01 +00:00
dg
caee0507e0 Don't define LITTLE_ENDIAN is already defined. 1994-09-23 06:53:03 +00:00
wollman
4c045ca123 Added *ran48 functions, and put them in the correct place this time.
Obtained from:	1.1.5
1994-09-23 00:37:55 +00:00
wollman
7970d2e69d Pass -q and -u flags to modload so that it shuts up and doesn't leave
modules lying around.
1994-09-22 22:36:57 +00:00
pst
dc4fe996ac Make iso_addr's output conform to modern conventions for NSAP
representation.  Original code by pst but ported in as part of
enhancements to BIND 4.9.2 and returned to Vixie.
1994-09-22 19:31:29 +00:00
ache
a96fe421a5 Attention to all cc hackers, here workaround for gcc 2.6.0
optimizer bug (old code works without -O and don't works with -O)
old !(x & y) != !(a & b) changed to !!(x & y) != !!(a & b)
1994-09-22 03:58:43 +00:00
ache
445e6edeb6 Fix mvcur typo bug from my previous fix 1994-09-22 03:09:04 +00:00
wollman
6513c1883f Fix stupid memory-allocation error. 1994-09-22 02:17:26 +00:00
wollman
6c7f19942f Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,
endvfsent, vfsisloadable, vfsload.
Someday these will even be documented.
1994-09-22 01:07:37 +00:00
wollman
1a7a5b2188 Document YP support. 1994-09-20 22:02:20 +00:00
wollman
ebfe3ce6c7 My implementation of YP group file support, modeled after the
password file support done yesterday.
1994-09-20 21:43:27 +00:00
wollman
d7672fbe55 Second half of YP security hole fix. Needs updated password
database in order to operate.
1994-09-20 21:42:12 +00:00
wollman
491552a4bd Re-implement YP password file support from scratch. This implementation
correctly handles +user entries and + entries with local overrides.
1994-09-20 01:23:45 +00:00
wollman
c9c7dd75b7 Maintain pw_fields, and output same to password database.
!!!!!!!!
NB
!!!!!!!!
You MUST pwd_mkdb /etc/master.passwd before attempting to use the new
libc, or things may go wrong.  (I doubt anything actually /will/ go
wrong, but the actual behavior is undefined.  YOU HAVE BEEN WARNED.)
The database format is, however, backwards-compatible, so old executables
will still work.
1994-09-20 01:15:08 +00:00
ache
baa424eb82 Function in this module bloodly called 'gethostname' and linked
with all pgms, you can imagine results!
Change 'gethostname' -> 'ntp_gettime', I don't know what real name
must be here but try to guess.
1994-09-19 22:04:28 +00:00
phk
75e736a76f Added beforeinstall rule to install .h files. We might need some .mk
support for this kind of thing.  Look at src/Makefile target "includes".
1994-09-19 05:30:33 +00:00
ache
3d1858c2f0 Change level of setlocale hack enabling from compile option STARTUP_LOCALE
to check (via getenv) environment variable "ENABLE_STARTUP_LOCALE" at
runtime.
Submitted by: me per Bruce suggestion
1994-09-19 02:00:21 +00:00
ache
0de4aa5096 Add (#ifdef'ed by STARTUP_LOCALE) following line to crt0.c
(void) setlocale(LC_ALL, "");

It will be easiest way now to make national chars available
for all ctype-oriented programs at once by simple:

setenv LANG Your_National_Charset

Default case (without "LANG" environment
variable) will be fully ANSI compatible (got "C" locale).

If "LANG" variable present, extention becomes active.

Effect of this extention is great: in one time all ctype
oriented programs can accept/print national characters
without any touching source/binary code, it is big win, IMHO.

This method is fully compatible with ISO8859-* and russian koi8-r
too (in general -- with all 8-bit character sets). I think
it is very useful.
I got this idea from Xenix locale implementation.

This extention is even never compiled in, unless you set
	setenv STARTUP_LOCALE
before rebuilding crt0.c or corresponding variable in /etc/make.conf
1994-09-18 22:21:04 +00:00
wollman
5de9aa67de Redo kernel NTP PLL support, user-mode interface. 1994-09-18 20:29:55 +00:00
phk
b1988f56d2 libmd no longer built as shared-lib, only static.
Renamed the beforeinstall to test.
1994-09-18 07:22:08 +00:00
paul
0a8a4cff4f Added support for kernel profiling to mcount.c 1994-09-15 16:00:41 +00:00
ache
afaa039a5d Add sanity check for "no previous regular expression" state,
bringed by 'more'
1994-09-14 22:25:15 +00:00
ache
0daa0ad457 Fix bug with searching "" pattern, cause 'more' always shows
next line on "/<Enter>" instead of searching next pattern
1994-09-14 21:35:31 +00:00
wollman
7fa1ec8f19 Use latest Arthur Olson timezone code rather than that supplied with
4.4.  The code is almost identical to the 4.4 versions, but this organization
should make it easier to merge new versions in the future.
1994-09-13 21:26:08 +00:00
dfr
bed8e3af71 Added SYSV ipc system calls. 1994-09-13 14:52:45 +00:00
wollman
b80021e668 Port to FreeBSD. Not ready for inclusion in libc just yet, but here
so we can compile zic.
1994-09-13 03:50:58 +00:00
wollman
91bd59b78c This commit was generated by cvs2svn to compensate for changes in r2710,
which included commits to RCS files with non-trunk default branches.
1994-09-13 03:44:49 +00:00
wollman
448e2f9aba One more try, and if it doesn't work this time I'm giving up.
(Check in original localtime.c.)
1994-09-13 03:44:49 +00:00
wollman
458460a943 This commit was generated by cvs2svn to compensate for changes in r2708,
which included commits to RCS files with non-trunk default branches.
1994-09-13 03:39:01 +00:00
wollman
cbc72118ba The rest of tzcode94g from Arthur David Olson.
Obtained From: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g.tar.gz
1994-09-13 03:39:01 +00:00
ache
e7c03dbddd Subwin code forget to subtract orig->beg{x,y} cause SEGV
Submitted by: derek@free.org & ache
1994-09-12 11:41:29 +00:00
rgrimes
5ee31ec207 libterm is now libtermcap 1994-09-11 22:28:45 +00:00
rgrimes
83c1bfeaeb Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:53:28 +00:00
csgr
b5aa499369 In emacs editing mode, sh treated ^D at the end of a line as EOF.
(Apparently by Christos Zoulas.)
Liberated from: NetBSD
1994-09-09 19:07:43 +00:00
csgr
7ca8cf71da Based on fix from 1.1.5.1:
>From: jtk@atria.com (John T. Kohl)
in rcmd:
It calls select() with a hardcoded "number of file descriptors" argument
of 32, rather than computing it based on the sockets about which it
cares.

- Now we work out the nfds arg, and do some error checking
Submitted by:	Geoff.
1994-09-08 20:55:02 +00:00
csgr
db70eb1cc3 document libcrypt and libcipher.
Submitted by:	Geoff
1994-09-08 19:46:57 +00:00
bde
2b849e2bed Build *.3 and *.ref at build time, not at install time. 1994-09-08 11:24:54 +00:00
bde
2668a71e31 Declare huge and tiny as volatile so that gcc doesn't evaluate huge*huge
and tiny*tiny at compile time.  The evaluations are supposed to be done
at run time to set the IEEE exception flags.  Many other source files
in libm and msun are missing this fix.  Fixing them is not urgent since
the default IEEE exception masks don't allow use of the overflow
exception flag.
1994-09-08 11:19:43 +00:00