David Greenman
9826cd3dfa
Don't define LITTLE_ENDIAN is already defined.
1994-09-23 06:53:03 +00:00
Garrett Wollman
4b4b7d0556
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
Garrett Wollman
d5ebbcdf85
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
Paul Traina
af2c9cfd5b
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
Andrey A. Chernov
fd437b2bb2
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
Andrey A. Chernov
8354392e6b
Fix mvcur typo bug from my previous fix
1994-09-22 03:09:04 +00:00
Garrett Wollman
5ba34297b9
Fix stupid memory-allocation error.
1994-09-22 02:17:26 +00:00
Garrett Wollman
8e2331ca34
Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,
...
endvfsent, vfsisloadable, vfsload.
Someday these will even be documented.
1994-09-22 01:07:37 +00:00
Garrett Wollman
6af9798fed
Document YP support.
1994-09-20 22:02:20 +00:00
Garrett Wollman
9486c394b4
My implementation of YP group file support, modeled after the
...
password file support done yesterday.
1994-09-20 21:43:27 +00:00
Garrett Wollman
468bb86a7d
Second half of YP security hole fix. Needs updated password
...
database in order to operate.
1994-09-20 21:42:12 +00:00
Garrett Wollman
d5b7518d9c
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
Garrett Wollman
28ca30918a
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
Andrey A. Chernov
0b00772e37
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
Poul-Henning Kamp
345ee1c674
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
Andrey A. Chernov
54335ac349
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
Andrey A. Chernov
f32a347542
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
Garrett Wollman
69f5174d9a
Redo kernel NTP PLL support, user-mode interface.
1994-09-18 20:29:55 +00:00
Poul-Henning Kamp
9d8044d0d9
libmd no longer built as shared-lib, only static.
...
Renamed the beforeinstall to test.
1994-09-18 07:22:08 +00:00
Paul Richards
691071ff1c
Added support for kernel profiling to mcount.c
1994-09-15 16:00:41 +00:00
Andrey A. Chernov
a7f57b7141
Add sanity check for "no previous regular expression" state,
...
bringed by 'more'
1994-09-14 22:25:15 +00:00
Andrey A. Chernov
a5b8a93b59
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
Garrett Wollman
a040910f9b
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
Doug Rabson
5b65bca24e
Added SYSV ipc system calls.
1994-09-13 14:52:45 +00:00
Garrett Wollman
f47e280f0a
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
Garrett Wollman
c84ccaa06b
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
Garrett Wollman
23c76c74b7
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
Garrett Wollman
476e02c78f
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
Garrett Wollman
48d96b1761
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
Andrey A. Chernov
8c37ae4d2c
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
Rodney W. Grimes
601284ae58
libterm is now libtermcap
1994-09-11 22:28:45 +00:00
Rodney W. Grimes
6897a8a75d
Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
1994-09-11 21:53:28 +00:00
Geoff Rehmet
965f1815ba
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
Geoff Rehmet
d1f32ba5df
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
Geoff Rehmet
49f037bca9
document libcrypt and libcipher.
...
Submitted by: Geoff
1994-09-08 19:46:57 +00:00
Bruce Evans
a9d26259dd
Build *.3 and *.ref at build time, not at install time.
1994-09-08 11:24:54 +00:00
Bruce Evans
9ce7bcf332
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
Bruce Evans
510cdfd2cf
Install math.h.
1994-09-08 10:40:23 +00:00
Jordan K. Hubbard
2d4ee3eaf6
Make errors in /etc/fstab print the line numbers where they occured.
...
Also be more tolerant of blank lines and comments in the file.
Submitted by: jkh
1994-09-08 09:21:00 +00:00
Andrey A. Chernov
53e1aa653e
Bug fixed:
...
when refreshing standouted line curses outputs SO for all characters
Submitted by: ZW6T-KND@j.asahi-net.or.jp
1994-09-07 16:52:33 +00:00
Bruce Evans
aeeb6869a5
Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.
...
Modernize bcopy -> memcpy.
1994-09-05 13:41:33 +00:00
Bruce Evans
5ec11cf0bb
Fix printing of weird errno's: negative values were printed as large
...
unsigned's; null termination was only guaranteed for the first call.
Fix lint: don't declare externs internally; they were both out of date.
1994-09-05 13:37:43 +00:00
Bruce Evans
7e80dad5c6
u_int -> unsigned int, so that we don't have to include <sys/types.h>
...
or depend on <stdio.h> bogusly including it.
1994-09-05 13:26:40 +00:00
Jordan K. Hubbard
5fb32aaddf
Make mddriver static.
...
Submitted by: jkh
1994-09-04 02:40:31 +00:00
David Greenman
ceee628294
Fixed editing blunder.
1994-09-01 12:09:17 +00:00
David Greenman
e46f1c20a7
Added rtprio system call stub and manual page.
...
Submitted by: Henrik Vestergaard Draboel
1994-09-01 09:52:37 +00:00
Bruce Evans
571a27805e
Build ntp_adjtime.o and ntp_gettime.o so that xntpd compiles.
...
Don't add to POBJS or SOBJS. bsd.lib.mk does it. Some objects were
duplicated.
Don't add to CLEANFILES. bsd.lib.mk does it. Some objects were
quadruplicated.
Define variables that are only used once close to where they are
used.
The ifdefs for avoiding building of profiled/shared objects when
NOPROFILE/NOPIC are set were not actually committed. The ifdefs
belong in bsd.lib.mk anyway.
1994-08-31 15:18:06 +00:00
Geoff Rehmet
5e2e7b3e96
Fix comparison of int against unsigned when checking error return
...
from recvfrom()
(This bug is also present in FreeBSD 1.1.5.1.)
Bug Reported by : Thomas.Koenig@ciw.uni-karlsruhe.de
Reviewed by: geoff.
1994-08-31 12:38:18 +00:00
Garrett Wollman
46ea7361ec
Undo some of Bruce's ``clean-up''. Don't be so damned verbose.
1994-08-30 21:46:05 +00:00
Andrey A. Chernov
043e2ebbd9
SHARED_LDADD added
1994-08-28 21:48:11 +00:00