Commit Graph

2231 Commits

Author SHA1 Message Date
jtc
290756c01b use fscalel instead of ftwotoxl/fmulx 1996-06-26 15:04:06 +00:00
jtc
991d9c139a we don't need to branch 1996-06-26 14:44:05 +00:00
jtc
6f5348dbbd Enable mc68881 version of fmod 1996-06-26 14:39:49 +00:00
jtc
3a2de776bf add m68881 specific fmod() 1996-06-26 14:36:14 +00:00
jtc
6655b8bb1f enable alpha-specific libm files 1996-06-26 07:38:42 +00:00
jtc
c13e010e3c Alpha versions of copysign() and copysignf() 1996-06-26 07:29:59 +00:00
jtc
5743dc5d7a Fix from Bruce Evans. Commited to FreeBSD earlier this month, but was
never forwarded to me :-(.

> Clean up the FP stack before returning.  The i387 exp() leaked an FP
> register on its first call.  Subsequent calls reused the register so
> the leak didn't accumulate.
1996-06-25 02:07:09 +00:00
leo
fa72190309 Fix the empty error message problem more completely. When the magic-check
fails on the cpu_hdr, return 0 instead of -1. This allows the caller to
distinguise between fatal errors and 'nothing there'.
1996-06-23 20:28:05 +00:00
leo
cca068a144 Fix the mysterious empty error message when savecore is executed and no
dump is present. This was caused by the fact that kvm_dump_mkheader() was
called *before* savecore checks the dump magic and kvm_dump_mkheader() returned
-1 without setting an error message. The latter is fixed now.
1996-06-23 13:56:54 +00:00
mycroft
601306abca Resurrect the setre[ug]id() stubs. 1996-06-23 11:52:49 +00:00
mycroft
23558a0acd Clean up removed files. 1996-06-23 11:50:33 +00:00
mycroft
f699ec835f Remove the old (broken) setre[ug]id() emulation. 1996-06-23 11:27:59 +00:00
jtc
3a375fb249 Merged in changes from branch (make sure all memory, file descriptors,
mappings, etc. are freed and return (nl_catd) -1 on error).   Also fix
one minor bug and clean up NLSPATH parsing a bit more.
1996-06-21 06:21:04 +00:00
jtc
749fcbc59b Ensure user can't make us overrun fixed sized buffers. 1996-06-20 18:47:08 +00:00
jtc
c40394d175 Fix NLSPATH processing --- catopen was not processing beyond the first
colon.  Try all paths in NLSPATH as per XPG4.2.  Expand %l, %t, and %c
to nothing.  Should be language, territory, and codeset.
1996-06-20 14:54:38 +00:00
jtc
0df251764e Changed clnt_{s,}p{errno,error,createerror} so that the functions that
output emit newlines and those that return a pointer to string do not
append them.

The existing behavior was inherited from RPC4.0, but this seems to have
been corrected sometime before SunOS 4.1.

The documentation has been updated to reflect the new behavior.
1996-06-19 20:38:43 +00:00
christos
1d4349e7c8 ypset(8) stopped working; reason:
xdr_ypbind_setdom() would always fail because the test for
xdr_ypdomain_wrap_string() was reversed. Fixed this and in
the process made all the function tests to be of the form:

	if (!xdr_foo())
		return FALSE;
	....
	return TRUE;

instead of having some of them like above and others like:
	if (xdr_foo() == FALSE)
		return FALSE;
	...

	return xdr_bar();

this is more consistant now and hopefully in the future people
will pattern match correctly and not introduce spurious errors.
1996-06-18 20:05:59 +00:00
cgd
418b1071e0 include bsd.own.mk at the top, so checks of EXPORTABLE_SYSTEM work as
intended.
1996-06-14 17:22:05 +00:00
cgd
0396d19a02 use p->hashfraction when doing non-time-critical calculations, rather than
using HASHFRACTION directly.  in time-critical calculations, if HASHFRACTION
is a power of two, check that p->hashfraction == HASHFRACTION and if so do
the calculation with the compiled-in value so that the compiler can optimize
out (potentially) expensive divisions.  if p->hashfraction != HASHFRACTION,
actually do the division.  This has the result that on machines with slow
division, the division can be optimized out of the common case, but that
if HASHFRACTION changes from the compiled-in value (for whatever reason),
profiling will still work.  Changes suggested by Chris Torek.
1996-06-12 04:15:34 +00:00
cgd
88fce69ea9 s/KERNEL/_KERNEL/ to match libkern version. 1996-06-12 04:03:33 +00:00
mark
29811afbb6 Set r1 to -1 on exit as well as r0 otherwise syscalls returning 64 bit
results will not read -1.
1996-06-05 19:02:12 +00:00
jtc
84fc678011 Use setne instead of setnel, new versions of gas balk at the bad mnemonic.
Wrong mask was used in s_finitef.S.
1996-06-04 18:00:34 +00:00
ghudson
23beafab63 Document that the caller must do a pw_abort() if pw_mkdb() fails. 1996-06-02 19:26:18 +00:00
ghudson
e257708bf2 Don't delete the lock file if pwd_mkdb fails. The caller will take care
of it by calling pw_abort() or pw_error() as appropriate.
1996-06-02 19:25:43 +00:00
jtc
ae94fc4d74 Note functions that probably can be removed 1996-06-01 21:39:21 +00:00
jtc
7c04139bcd Fix computation of ISO 8601 Week Of Year 1996-06-01 21:23:25 +00:00
jtc
8e1fdaa50e Don't special case shift counts > QUAD_BITS or == 0. The former is
undefined behavior (so we can do whatever we want) while the latter
doesn't happen much in actual practice.

These changes make these functions considerably smaller and faster.
1996-06-01 21:21:50 +00:00
jtk
ab5dfe6dc8 merge bugfix from 1.2 branch: use includes target for include files 1996-06-01 19:59:30 +00:00
jtc
17c5522d18 Re-arranged code a bit so that gcc can optimize this a bit better.
This change results in better code on the i386, m68k, & ns32k, and
equivalent code on the sparc.
1996-06-01 02:24:29 +00:00
jtc
fb600c331a Fix typo in last change 1996-06-01 02:06:23 +00:00
jtc
5bbcde6a0d Enable use of assembly language shift routines on the m68k 1996-06-01 01:14:00 +00:00
jtc
57ceb7a883 Added ashldi3.S, ashrdi3.S, and lshrdi3.S to KMSRCS 1996-06-01 01:08:02 +00:00
jtc
ff3bd4df33 m68k assembly versions of 64 bit shift functions 1996-05-31 02:05:33 +00:00
cgd
0351ca5efa Add some casts so that we're not bitten by type promotions on 64-bit
systems.  Not a great concern since the only 64-bit system currently
supported by NetBSD (Alpha) uses assembly versions of these routines.
1996-05-29 23:23:27 +00:00
thorpej
7a26f6a8ac Pull down yp/xdr fixes from release branch. 1996-05-29 20:00:52 +00:00
cgd
c0e6f9b4f3 use 'ALIGN' from <sys/param.h> rather than generating a custom alignment expr 1996-05-29 04:05:52 +00:00
fvdl
d792665e0d Fix typo (PR 2461) 1996-05-28 13:34:39 +00:00
mrg
343a54bb75 Change iuserok() to take u_int32_t. Some netgroup fixes (partially
from OpenBSD and Theo).
1996-05-28 02:07:32 +00:00
cgd
ebd16dc1e1 switch from long to int32_t, where appropriate, so that this actually
works on NetBSD/Alpha for non-trivial filters.
1996-05-26 23:50:37 +00:00
christos
409a9590f3 Avoid using clnt_perror() on the first rpc failure, since it is going to be
retried anyway. Only report it every _yplib_nerrs times.
1996-05-23 13:48:59 +00:00
mycroft
db3e68aa58 Describe the _POSIX_SAVED_IDS situation more clearly. 1996-05-21 23:39:57 +00:00
mrg
ef2bde6bce update to reflect reality. 1996-05-20 16:58:03 +00:00
cgd
64331ae191 these files all need to include <string.h> 1996-05-20 15:17:31 +00:00
jtc
9647f42d70 Signal mask was not restored correctly.
Fix from James Chacon <jmc@pobox.com> in PR #2442.
1996-05-20 06:13:07 +00:00
ragge
92a955a864 VAX string functions in assembler. Fixed for NetBSD by Ken Wellsch. 1996-05-19 15:57:37 +00:00
jtc
159bafea3c Split yp_first, yp_next, yp_maplist and yperr_prot out of yplib.c. 1996-05-18 19:06:39 +00:00
jtc
2039c263f3 Split yp_first, yp_next, yp_maplist and yperr_prot out of yplib.c.
Use a constant struct timeval for yp timeouts instead of creating
a new struct timeval in each yp function at runtime.
Check arguments and return YPERR_BADARGS if invalid.
1996-05-18 19:03:45 +00:00
jtc
0724069f60 Use a constant struct timeval for yp timeouts instead of creating
a new struct timeval in each yp function at runtime.
Check arguments and return YPERR_BADARGS if invalid.
1996-05-18 19:01:19 +00:00
jtc
76bf46a33e Split yp_first, yp_next, yp_maplist and yperr_prot out of yplib.c.
Use a constant struct timeval for yp timeouts instead of creating
a new struct timeval in each yp function at runtime.
1996-05-18 18:43:24 +00:00
jtc
b18369b1bb Use memset instead of bzero to clear xports array.
To be strictly conforming, we should iterate through the array and set
each pointer to NULL.  But memset is faster, and can be inlined by the
compiler.  If we ever encounter a machine where a NULL ptr != all bits
zero, we'll have to handle this differently.
1996-05-17 00:32:22 +00:00
pk
8afc84d945 Clear `xports' array after allocation (PR#2424, Arne Juul). 1996-05-16 22:52:21 +00:00
cgd
6f5a87ec6c remove a few macro definitions which duplicate (and in one instance,
conflict with) those in <machine/asm.h>.
1996-05-16 21:56:22 +00:00
cgd
11f862a975 last argument to catgets()/_catgets() is 'const char *', not 'char *' 1996-05-16 21:51:22 +00:00
cgd
85b3fc5c34 update for ecoff header changes. Most changes taken from PR 2413,
submitted by Jason Thorpe.
1996-05-16 20:49:20 +00:00
christos
b2459dacce Use the POSIX signal mask interface 1996-05-16 19:39:13 +00:00
thorpej
7795b4110f Add two functions to libutil:
- getmaxpartitions: get the value of MAXPARTITIONS for the
	  currently running system

	- getrawpartition: get the value of RAW_PART for the
	  currently running system

These functions are necessary since the value of MAXPARTITIONS might
be different across platforms which are binary compatible (e.g. amiga
and sun3).
1996-05-16 07:03:28 +00:00
jtc
e42a94845a Minor reorganization of libutil, including the addition of passward
locking and editing functions.
From Greg Hudson <ghudson@MIT.EDU>
1996-05-15 21:42:23 +00:00
jtc
5d8adb683d Split yperr_match out of yplib.c; makes many static executables a bit smaller. 1996-05-15 05:27:50 +00:00
jtc
7808771d84 Split yp_all, yp_master, and yp_other out of yplib.c; makes some static
executables a bit smaller.
1996-05-14 23:37:27 +00:00
scottr
d04c0cce16 Fix typo in last change 1996-05-14 21:59:57 +00:00
jtc
3b32f2c7c0 Split yperr_string out of yplib.c; makes many static executables a bit smaller. 1996-05-14 13:36:49 +00:00
jtc
adfd5ba766 New message catalog implementation that uses a more efficient machine
independent external format.  The new format is like what is used on
svr4 systems, except it uses fixed sized fields and a constant byte
order.
1996-05-13 23:29:32 +00:00
thorpej
c66799ff11 RCS id police. 1996-05-13 02:30:20 +00:00
mark
46d95534b3 Updated register usage. 1996-05-12 20:52:09 +00:00
mark
62a60eda3b Updated to use definitions from machine/ieee.h 1996-05-12 20:50:54 +00:00
mark
93d4dfdfd8 Added NetBSD copyright. 1996-05-12 20:43:54 +00:00
mark
ea5751f59e No longer required. The libc fabs() functions is in fabs.c. 1996-05-12 20:36:27 +00:00
mark
e1c23a9306 Added new filenames. 1996-05-12 20:34:15 +00:00
mark
0814ca4b65 Initial commit of the floating point related libc functions. 1996-05-12 20:29:09 +00:00
mark
ba9c4033a1 RCS Id police. 1996-05-12 20:25:39 +00:00
mark
cd795b6adf Removed files from KMINCLUDES and KMSRCS. 1996-05-12 20:06:52 +00:00
mark
341c543ad0 RCS Id police. 1996-05-12 19:55:00 +00:00
mhitch
ae4dbfceb0 The amiga now does kernel crash dumps using the new libkvm and savecore. 1996-05-12 04:30:18 +00:00
mycroft
c2102b50ad Slight simplification. 1996-05-11 11:04:51 +00:00
cgd
ace25ccb4d show what's going on (i.e. show the cmp ... || install ...) even if
nothing's being installed.
1996-05-10 21:54:24 +00:00
cgd
5dd52b454d Be more verbose during 'includes' installation. Instead of showing
'install' commands only if the 'cmp' sees differences, show the
'cmp ... || install ...' commands like other Makefiles do when
installing includes.  It's comforting to see the extra output (to see
that updated files would actually be installed), and is consistent
with other makefiles.
1996-05-10 05:03:06 +00:00
christos
c1a26f1198 Fix PR/2348: infinite loop when RPC_PROCUNAVAIL 1996-05-09 22:52:24 +00:00
pk
42822c16d6 Make sure we include the correct headers. 1996-05-09 12:41:38 +00:00
pk
ed403311db $Id -> $NetBSD (PR#682). 1996-05-08 19:24:04 +00:00
mark
ce67b636ad Get the word order of doubles correct for the arm32 port.
Note: The arm32 port is little endian except for the FP word order.
1996-05-07 20:26:07 +00:00
leo
287a3d660a Fix small typo in last commit. 1996-05-07 06:09:11 +00:00
christos
e904bb0ffc Close PR 2376 1996-05-06 13:45:44 +00:00
pk
204be49cb4 typo: DV -> Dv 1996-05-05 19:21:20 +00:00
gwr
fe3234daab The sun3 now does kernel crash dumps using the new libkvm and savecore. 1996-05-05 04:37:22 +00:00
gwr
82118b75d6 Allow more flexibility in the format of cpu_kcore_hdr_t and isolate
the knowledge of that struct in the machine-dependent module.
1996-05-05 04:31:59 +00:00
mycroft
0fd4b530e0 Change suggested by Chris Torek to fix problem freopen()ing with a closed
file descriptor.
1996-05-04 19:25:19 +00:00
cgd
e4cf519e27 fix a bug that shows up only on alphas: ndbm "datum" variables can't be
cast to DBTs, because the 'size' fields are int and size_t,
respectively, and that means that the DBT size field would be
partially filled with garbage on the Alpha.  Bug fix sent to bostic.
1996-05-04 00:38:58 +00:00
cgd
5e5ebf658f a script, along the lines of the gcc2netbsd script used to set up gcc
trees for import, to set up Berkeley DB trees for import.
1996-05-03 22:43:02 +00:00
cgd
7f7f8e8fe2 reapply diff from rev. 1.7. can't cast pointers to ints; what's really wanted
here is foo != NULL.
1996-05-03 22:16:32 +00:00
cgd
24420c0109 merge DB 1.85 changes 1996-05-03 21:50:36 +00:00
cgd
738330da77 merge DB 1.85 changes 1996-05-03 21:38:43 +00:00
cgd
17140cef26 merge DB 1.85 changes 1996-05-03 21:26:48 +00:00
cgd
90031d7892 add RCS id 1996-05-03 21:20:56 +00:00
cgd
5840471668 clean up README files and merge properly with 1.85 1996-05-03 21:17:07 +00:00
cgd
5fb6a3660e Import of Berkeley DB version 1.85 1996-05-03 21:04:19 +00:00
cgd
edf4f72627 apparently the BPF_HEADERS don't define BPF_RELEASE or typedef the
bpf_{,u_}int32 types, so they are defined here.  Change their
definitions to use int32_t and u_int32_t, rather than long and u_long.
1996-05-02 00:18:28 +00:00
jtc
c2ad7fffa8 Changed rules used for converting rpc source (*.x) to *.c and *.h so
that rpcgen invocation is not hidden.  There is no reason to hide it,
and it might be useful.  For example, this makes the make -n output
much more useful.
1996-04-29 21:11:24 +00:00
jtc
146f9344c8 Echo install commands, so user knows what is being installed.
Suggested by cgd.
1996-04-29 20:52:52 +00:00
jtc
022978656f Use 'includes' instead of 'beforeinstall' target to install headers 1996-04-29 20:32:24 +00:00
pk
697ae24a44 bump minor version to 5 (addition of futimes(2)). 1996-04-29 12:12:50 +00:00
christos
b078384e49 - grab prototypes from netgroup.h
- added _ng_print, netgroup pretty printing function
1996-04-27 18:59:05 +00:00
mark
ec673d5430 Fixed a couple of filenames. 1996-04-26 20:15:14 +00:00
jtc
5ff4c9eae2 Use 'includes' instead of 'beforeinstall' target to install headers 1996-04-25 01:22:08 +00:00
jtc
1c43ef87de Use 'includes' instead of 'beforeinstall' target to install curses.h header 1996-04-25 00:58:56 +00:00
mycroft
e376b17fef Build a stub for futimes(). 1996-04-23 10:42:30 +00:00
mycroft
ad2105650e Document futimes(). 1996-04-23 10:34:16 +00:00
scottr
7fde8d9997 comprised -> composed. Closes PR 2345. 1996-04-23 05:18:06 +00:00
cgd
4e82cb0a0a fix a couple of typesetting and grammatical errors in GLOB_BRACE's description 1996-04-19 00:12:16 +00:00
cgd
57da02bd77 don't include user-land headers compiling for libkern. (sync with libkern.) 1996-04-18 02:30:07 +00:00
cgd
734132ad28 have copy-to-libkern copy strcat.S, not strcat.c 1996-04-18 01:54:16 +00:00
cgd
67d51cc7b5 #define _verr* to verr*, to make these use prototypes correctly
and compile in the "no indr_references" case.
1996-04-17 23:05:44 +00:00
cgd
44e8033a96 add assembler versions of the byte swap macros (only compile ntoh and
hton variants, not byte_swap variants, which are just included), and
copy them to libkern when appropriate.
1996-04-17 22:36:30 +00:00
jtc
ec081115f9 Split each function in err.c out into its own file. This is needed
for systems without weak or indirect references.
1996-04-15 23:44:53 +00:00
thorpej
6779689463 Document that "<sys/sysctl.h>" isn't enough ... suggest including
<sys/param.h>, too.  Suggested my Kevin M. Lahey <kml@nas.nasa.gov>
in PR #1999.
1996-04-13 02:07:15 +00:00
phil
07df601bbf Add missing ~. (PR 2311) 1996-04-09 16:33:32 +00:00
jtc
20779dadd6 Add proper punctuation; Reported by Mike Long <mike.long@analog.com> in PR #2302. 1996-04-08 20:56:38 +00:00
phil
d9f99fc936 Removing a "volatile" put there for the ns32k which is no longer needed. 1996-04-08 15:43:41 +00:00
phil
bf6acfece8 Addition of fp routines. (PR 2281 from Matthias Pfaller.) 1996-04-05 00:23:05 +00:00
phil
3fac82adb2 Change the definition of __infinity on the ns32k. (PR 2283) 1996-04-04 23:45:18 +00:00
jtc
af07dd15d4 Add explict function return types 1996-04-03 19:48:56 +00:00
cgd
c27f2fa69f delete redundant files; pull them in via .PATH to avoid inconsistencies.
Changes which would be made here are also quite likely to apply to
"new" libkvm code, as well.  No point in having to do them twice, or
letting them get lost.
1996-04-01 19:28:03 +00:00
cgd
82501b607b sync with libkvm.old sources (change committed by pk):
>Catch up with system PMAP.
1996-04-01 19:23:03 +00:00
pk
60188b5bd2 Catch up with system PMAP. 1996-04-01 06:27:54 +00:00
cgd
b43e9a78d5 Remove alpha 'mmclock' memory-mapped clock interfaces. In retrospect,
while it's sort of nice, it's sufficiently hard to do this properly
for the general case that, in the long run, it probably won't make sense
to support in the way i was planning to.  (There are serious problems
with doing this, on multiprocessors.)
1996-03-30 23:08:43 +00:00
jtc
3bf9d01bf7 infnan(3) no longer exists. 1996-03-30 01:33:59 +00:00
jtc
ee341062c6 Changed 3m to 3. There is no 3m manpage section. 1996-03-30 01:28:55 +00:00
jtc
755230061e Added explicit return types to all functions in SYNOPSIS section.
Added documentation to hstrerror() function.
Added hstrerror MLINK.
1996-03-30 01:14:56 +00:00
jtc
da8d0ce8e0 Add explict function return types 1996-03-29 23:29:06 +00:00
jtc
18ec2ba033 Add explict function return types 1996-03-29 23:00:47 +00:00
jtc
0f6af23d21 Expand "u_int" to "unsigned int" so that curses.h can be used when
_XOPEN_SOURCE or _POSIX_SOURCE is defined.
1996-03-26 02:43:59 +00:00
jtc
45da58c78f Changed signal prototype to be more like ANSI C 1996-03-26 02:05:55 +00:00
jtc
be21c16fa0 hack to limit termcap strings to 1024 characters 1996-03-22 23:25:30 +00:00
jtc
e522ca37ad Changed _catopen() to always return ((nl_catd) -1) on error, and
changed _catgets() and _catclose() to special case catd's == -1.
This change fixes PR#2190, and brings _cat*() closer to XPG4.2
compliance.
1996-03-22 01:11:49 +00:00
jtc
fd08cf75d8 Handle null string in re_comp.
From Kazushi Jam Marukawa <kazusi-m@is.aist-nara.ac.jp> in PR 2196.
1996-03-21 03:11:13 +00:00
mrg
301aee8168 libkvm has totally changed, bump major version. 1996-03-20 23:11:56 +00:00
thorpej
346e67f879 RCS id police. 1996-03-18 22:33:07 +00:00
leo
be74d305c7 Nuke the kd_live argument to kvm_dump_mkheader(). it's not needed anymore... 1996-03-18 21:14:44 +00:00
leo
c458aad2bf Add a manual page for the kvm_dump_* functions. 1996-03-18 21:11:10 +00:00
christos
0ded611f77 Add missing documentation for TTY_MDMBUF. 1996-03-17 19:36:53 +00:00
leo
9c2128ecdd New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
        will always use the kvm-functions. Allowing it to work on kernels
        that don't have a 1-1 PA-VA mapping.
     2) the kvm-lib has some additional functions to accomplish 1
          - kvm_dump_mkheader()
          - kvm_dump_wrtheader()
          - kvm_dump_inval()
     3) the file formats of the dump generated by the kernel and the dump
        generated by savecore have been changed. The file format now looks
        like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.
1996-03-16 10:23:29 +00:00
leo
15d00de6ec old kvmlib - do not update 1996-03-16 10:05:24 +00:00
thorpej
ab5476b242 Only build exportable telnet/libtelnet if the domestic version doesn't
exist in the source tree or defined(EXPORTABLE_SYSTEM).  This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place.  (XXX)
1996-03-10 05:45:38 +00:00
mycroft
bd267b1b3c Clean up a bit. 1996-03-08 10:45:16 +00:00
pk
7e18fd4e93 Avoid load/store doubles; jmp_buf is long aligned (Michael Eriksson; PR#2180) 1996-03-06 21:50:20 +00:00
jtc
352df56fe2 Added getrlimit(2) and sysconf(3) cross references 1996-03-06 02:23:57 +00:00
thorpej
9029778d04 RCS id police. 1996-03-03 16:54:17 +00:00
jtc
991d366a82 Update to agree with <sys/mount.h>; From Todd C. Miller <millert@cs.colorado.edu> 1996-02-29 23:47:48 +00:00
jtc
025820ea94 Fix swapped description of %x and %X format specifiers 1996-02-29 15:03:20 +00:00
thorpej
0ffa7d7b3c Copyright assigned to The NetBSD Foundation. 1996-02-28 00:47:42 +00:00
jtc
24e38f7825 Copyright assigned to the NetBSD Foundation 1996-02-27 22:57:17 +00:00
jtk
0dcff75424 update libtelnet with changes through 95.10.23 version 1996-02-24 01:15:15 +00:00
jtc
1980640710 comment out PT_READ_U, PT_WRITE_U, PT_SYSCALL descriptions 1996-02-23 01:39:41 +00:00
jtk
d4e5b34479 rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
1996-02-21 02:43:52 +00:00
jtk
5cf28d6807 add i386_vm86 sysarch() stub and documentation 1996-02-21 00:21:45 +00:00
pk
6066b9b21b Remove nfs header files. 1996-02-19 14:33:41 +00:00
hpeyerl
acfb6aadb9 Fix inet addr parsing so no more than 4 octets are valid.
From Amy Baron (amee@remarque.berkeley.edu).  Fixes PR#2089. (BFPR)
1996-02-17 15:35:41 +00:00
jtc
c34d1a35dd Fixed bad cross reference: waitpid(3) -> waitpid(2). 1996-02-16 22:30:46 +00:00
mark
1d95fe29ce Get the floating point byte and word orders correct for the arm32. 1996-02-16 21:19:29 +00:00
mark
39f49db401 Define IEEEFP if we are compiling for the arm32. 1996-02-16 21:14:03 +00:00
mark
5284578745 Initial commit of the arm32 architecture dependant libc code. 1996-02-16 20:47:54 +00:00
phil
f85411e692 Change to fit reality. Backlog is limited to 128, not 5.
(sys/socket.h: SOMAXCONN)
1996-02-16 20:38:45 +00:00
mrg
bf1bb3d725 re-apply patch from 2 revisions ago 1996-02-16 00:53:00 +00:00
jtc
6117b03a03 Fix embarassing typo 1996-02-14 19:21:54 +00:00
neil
c276195bf7 Fixed SEE ALSO section. Closes PR # 2049 1996-02-11 16:15:40 +00:00
mycroft
3544b72f01 Update to match mount(2) prototype. 1996-02-08 18:33:58 +00:00
mycroft
62b296d0eb Make this work on machines that do not support unaligned memory access.
From der Mouse, PR 1116.
1996-02-08 08:06:05 +00:00
jtc
daa40d9a50 Add explicit return type 1996-02-05 04:30:51 +00:00
jtc
fdde8d3367 gcc -Wall cleanup from John Birrell <jb@cimlogic.com.au>. 1996-02-04 23:43:54 +00:00
jtc
6bb5d0a08c Change conditionals around RCS IDs to be like rest of libc.
From John Birrell <jb@cimlogic.com.au>.
1996-02-04 23:26:21 +00:00
mark
cd2d3b3a65 Initial commit of the crt0.o source for the arm32 port. 1996-02-02 16:23:16 +00:00
mark
d1c55d0bd8 Initial commit of the libkvm code for the arm32 port. 1996-02-02 15:35:41 +00:00
mrg
237baea38a merge with the resolver in bind 4.9.3-P1. 1996-02-02 15:22:14 +00:00
mrg
14f800aadd resolver updates to bind 4.9.3-P1 add new functions 1996-02-02 15:20:59 +00:00
phil
7b194ded98 Rewrite the description of alarm(3) to match reality. 1996-02-01 20:11:48 +00:00
phil
57cd9a2c29 Update for recent changes in the kernel. 1996-02-01 07:24:37 +00:00
mycroft
18fbe90d92 Document EMFILE and ENFILE. 1996-01-31 20:14:42 +00:00
jtc
bd587f836f Changed manpages to reflect fact that localtime file is in /etc 1996-01-30 19:54:34 +00:00
mycroft
99374f84f7 Add missing argument to warnx(). 1996-01-22 16:34:08 +00:00
jtc
0f94396cf3 sync with tzcode96c 1996-01-20 02:29:47 +00:00
jtc
d758cb389a Include errno.h (declarations of sys_errlist and sys_nerr were moved
from stdio.h to errno.h).
1996-01-20 01:41:51 +00:00
jtc
03edaa24b7 The C standard says (about realloc) that "If size is zero and ptr is
not a null pointer, the object it points to is freed."  Reported by
Peter Seebach in PR #1806.
1996-01-17 02:45:25 +00:00
jtc
78db0b395c Add S_IFWHT to correspond with <sys/stat.h>; Reported by Mike Long in PR #1949 1996-01-17 02:15:28 +00:00
jtc
0bcc20d745 Fix typo in funopen prototype; Reported by Noriyuki Soda in PR #1954 1996-01-17 01:42:55 +00:00
thorpej
535abd80a2 Add a net.inet.ip.directed-broadcast sysctl as suggested by
Darren Reed <darrenr@vitruvius.arbld.unimelb.edu.au> in PR #1227.
This change is slightly different than the one submitted by Darren in
that the DIRECTED_BROADCAST compile-time option will behave like it used
to so that existing configurations utilizing it won't have to change.
1996-01-16 04:17:30 +00:00
jtc
99ec00663a Fix manpage typoes; PR #1905 1996-01-16 01:42:19 +00:00
thorpej
4b359df8c4 Add net.inet.ip.forwsrcrt: if zero, the system will not forward
source-routed packets.  Note this value is protected by kernel security
level; it can only be changed if securelevel < 1.
1996-01-15 21:11:46 +00:00
thorpej
05df93de55 Document the EACCES errno value as returned by sendmsg(2), per
Ted Mellon <mellon@fugue.com>, PR #1093.
1996-01-15 01:17:18 +00:00
ghudson
1ca8e01f30 Don't read the network address as an alias when there isn't whitespace
after the network address.  Closes PR 1940.
1996-01-14 05:02:41 +00:00
jtc
c875c647a0 sync with tzcode96a 1996-01-08 22:50:54 +00:00
jtc
c743e76aff import tzcode96a 1996-01-08 22:45:14 +00:00
ragge
0aa318cd7e Changed to only include <machine/asm.h>, as the other ports. 1996-01-06 18:34:59 +00:00
pk
7d2e1a8b0b Updates per John Kohl (PR#1650). 1996-01-05 14:56:42 +00:00
pk
560ec18abf Note return value of get_myaddress(). 1996-01-04 20:09:53 +00:00
pk
33880f275d Return FALSE if get_myaddress() fails. 1996-01-04 20:06:22 +00:00
pk
49ca038962 1) Agree with kernel on format of SIOCGIFCONF results.
2) Return non-zero on error, so RPC clients do not die unexpectedly.
1996-01-04 20:05:04 +00:00
jtc
0943e32aa8 Fixed %u to expand to a single digit 1995-12-28 23:02:42 +00:00
jtc
723b71b52c removed :errfix; const qualifier makes it unnecessary 1995-12-28 22:37:55 +00:00
jtc
43d7567da3 Removed unused CALL macro 1995-12-28 22:35:54 +00:00
jtc
051ae6c48a Remove #include "SYS.h"; it is not needed (by normal assembly functions) 1995-12-28 21:32:25 +00:00
jtc
3f78e35cca Use <machine/asm.h> instead of DEFS.h 1995-12-28 20:03:51 +00:00
jtc
24a6d94c0d Added macros definitions for use with ANSI preprocessors. 1995-12-28 19:44:11 +00:00
thorpej
6dda330ef6 New-style RCS ids. 1995-12-28 08:51:55 +00:00
jtc
990dc3cb42 Fix grammar error pointed out by Peter Seebach in PR#1846 1995-12-27 21:17:02 +00:00
jonathan
3fa4ff4647 Change mips assembly code for {,_,sig}setjmp.S to get register names
from <machine/regnum.h>, not <machine/reg.h> (which also defines structs.)
1995-12-22 10:20:51 +00:00
mycroft
9b62656910 Rearrange to avoid sign problems with GCC. 1995-12-21 03:56:06 +00:00
mycroft
e0c0c4749d Minor cleanup. 1995-12-20 23:14:48 +00:00
cgd
d60a3efc1f internal libalpha header, and functions to init and read from the
memory mapped clock.
1995-12-20 12:54:24 +00:00
cgd
762e8ff6c2 makefile for alpha libarch 1995-12-20 12:48:10 +00:00
cgd
3601644b3c limit the flags that get passed to cpp 1995-12-20 12:36:56 +00:00
jonathan
dd0a20c5ae Add sigsetjmp.S for mips, and add it to the makefile. 1995-12-15 01:12:36 +00:00
jtc
bdb00bc144 Changed to use alloca() instead of malloc() to allocate argument vectors.
Programs that don't use malloc()/free() (ie. provide their own allocation
scheme atop sbrk()) should still be able to use exec*.
1995-12-14 16:51:27 +00:00
thorpej
915f0a8f9b New-style RCS ids. 1995-12-13 22:21:23 +00:00
thorpej
6cdbd4c23a New-style RCS ids. Use the RCSID() macro where appropriate. 1995-12-13 22:17:46 +00:00
thorpej
9573504567 New-style RCS ids. Use the RCSID() macro where appropriate. 1995-12-13 21:46:13 +00:00
thorpej
9f1ee9ae9c New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
1995-12-13 19:35:39 +00:00
ragge
e85a7da39b Add defs to understand K&R cpp. 1995-12-12 15:21:31 +00:00
ragge
f1aad3abcc Really needed files, forgot them in -current after 1.1. 1995-12-12 08:04:47 +00:00
cgd
2a3b48cdaf CFLAGS+=, not CFLAGS= 1995-12-12 01:53:50 +00:00
ragge
4529cdf035 Can't be sure cpp can handle x ## y. 1995-12-09 13:28:38 +00:00
ragge
34323ef19c sigsetjmp/siglongjmp was missing. Code fix by Arne H. Juul. 1995-12-09 13:26:43 +00:00
ragge
c6813ecb89 Didn't take care of errors when return parameter was long long.
Bug pointed out by Arne Henrik Juul.
1995-12-04 21:52:44 +00:00
thorpej
ed63b163c8 Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place.  "Hello, McFly!"
1995-11-28 23:40:47 +00:00
thorpej
ced1925e35 Fix a typo. 1995-11-28 22:50:18 +00:00
jtc
31ed1143ff merge in changes from 1.1 release branch 1995-11-28 06:41:14 +00:00
jtc
c47925a6fb Added spanish language message catalog from Jesus M. Gonzalez <jgb@ordago.uc3m.es> 1995-11-23 02:20:59 +00:00
cgd
a2ce90f34c change definition of profil() to make it 64-bit friendly. This has
no practical consequence on 32-bit systems.  old prototype was
int profil(char *, int, int, int), and new one is int profile(char *,
size_t, u_long, u_int).  the size_t is the size of the buffer,
and the u_long is the 'starting offset'.  (I changed the last int
to u_int, because it's treated as a u_int everywhere, and isn't
logically a signed value.)
1995-11-22 23:07:19 +00:00
jtc
5c13daa56e Add support for PROFDIR environment variable 1995-11-21 22:23:47 +00:00
jtc
977400602b Changed w_gamma.c, w_gamma_r.c, w_gammaf.c, w_gammaf_r.c to call
__ieee754_lgamma_r or __ieee754_lgammaf_r.
Removed e_gamma.c, e_gamma_r.c, e_gammaf.c, e_gammaf_r.c, e_lgamma.c,
e_lgamma_f.c.
1995-11-20 22:06:19 +00:00
thorpej
bebc2d5787 New style RCS ids, and employ the RCSID() macro. 1995-11-17 20:21:10 +00:00
jtc
4def0687f4 fix stupid typo 1995-11-17 19:32:26 +00:00
pk
70a905904f Remove call to abort() (from John Kohl; PR#1764). 1995-11-16 08:35:33 +00:00
cgd
c948e0646d profiling support 1995-11-04 00:30:50 +00:00
cgd
5b14175ea1 be more conservative when setting the gp 1995-11-04 00:23:04 +00:00
cgd
3ddd2ef5ab kill a gratuitous cast of lowpc to an int 1995-11-04 00:11:40 +00:00
pk
768025b976 waitpid is in section 2 (from John Kohl; PR#1710). 1995-11-01 10:02:29 +00:00
cgd
28426ef703 fix up a bit of profiling support 1995-10-29 19:54:15 +00:00
pk
5e25a3816d Eliminate race by stopping timer before restarting it with remaining time
(one more system call).
1995-10-26 22:07:00 +00:00
pk
26646c7969 Setup stack-frame correctly (same as s_ilogb.S). 1995-10-22 20:32:43 +00:00
jtc
a0ed1b8ba8 Assembly language implementation of strcat(). Derived by merging existing
strlen() and strcpy() functions.
1995-10-21 20:24:48 +00:00
jtc
8a5e159d9f Rewrite to remove instruction in inside of loop. Instead of maintaining a
count, subtract the start address from the end address.
1995-10-21 20:21:15 +00:00
pk
0a3f02bda0 Eliminate race in the "normal" case of not being interrupted by another signal. 1995-10-20 17:32:06 +00:00
jtc
15ad6704b0 SysV IPC manpages from Frank van der Linden 1995-10-16 23:49:07 +00:00
pk
d2c2babb9f 1) Turn off timer before resetting signal disposition.
2) Set signal mask before signal action, to avoid held SIGALRMs
   bursting in after unsetting the handler.
1995-10-16 18:58:47 +00:00
christos
95b0e87b48 Added history load and save to file functions. 1995-10-15 19:42:05 +00:00
mycroft
8ca3cf6c41 Add new sysarch calls, and fix #includes. 1995-10-15 02:25:07 +00:00
jtc
e2143cf975 Fix from Jochen Pohl, i387 version of ilogb didn't set up the stack
frame correctly (PR #1590).
1995-10-12 15:53:09 +00:00
jtc
b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
jtc
0e3da40dbe Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  Also fixes decription
of _SC_CLK_TCK in sysconf(3).  See PR #1587 and PR #1589 for details.
1995-10-12 15:39:23 +00:00
jtc
af8ead3302 Fix from Jochen Pohl which fixes case where quad multiply
goes awry if bit 31 of at least one of the operands is set
(PR #1591).
1995-10-12 15:05:35 +00:00
ragge
a6a78ddeb9 Got Makefile to understand to use non-IEEE files on vax systems. 1995-10-10 23:43:31 +00:00
ragge
d76e5e0af8 Machine specific math library files for vax. 1995-10-10 23:40:21 +00:00
ragge
25d43745af Machine independent math library files for non-IEEE architectures. 1995-10-10 23:36:31 +00:00
cgd
1162a1d4ff kill OSF/1 assembler support, and make gcrt0.o link (but not work). 1995-10-09 23:54:37 +00:00
jtc
aa9022195f Add French libc message catalog by Matthieu Herrb <matthieu@abel.laas.fr> 1995-10-09 03:58:02 +00:00
thorpej
dcac24e231 We don't have a libc/search. 1995-10-04 22:06:11 +00:00
jtc
f860fa6ee0 Add german libc message catalog 1995-10-02 20:54:45 +00:00
thorpej
07db43dc14 Document new RFC1323 sysctl variable. 1995-09-30 07:03:54 +00:00
cgd
7a8e7b22a1 deal properly (i hope!) with registers' upper 32 bits, when doing
32-bit division and remainder.  Sometimes, when optimizing, they could
have been different than previously expected (and could have caused
hokey results).
1995-09-30 03:09:07 +00:00
cgd
2940a41ce2 kill some now-bogus XXX's 1995-09-30 02:14:17 +00:00
jonathan
509475b244 Copy the input argument to $f0 so we handle negative inputs properly
in the tail.

Doesn't yet handle +/- inf as cleanly as other implementations.
1995-09-29 21:59:45 +00:00
pk
a9c6e6dfa1 Make `make depend' work. For this, it was necessary to remove ${.ALLSRC}
from the build rules; it has been replaced with `${.CURDIR}/${SRCS}'.
Also, avoid "a.out" like <mk/bsd.lib.mk>.
1995-09-29 11:23:15 +00:00
cgd
c178576bae add hack-ish support for ecoff nlists (used only on the Alpha).
It's hack-ish, but it appears to work well enough for all/most
programs that use libkvm, e.g. ps, w, netstat, dmesg, etc.
1995-09-29 04:19:59 +00:00
cgd
46d2a53848 reminder to not forget k0seg translations. (nothing done here yet, though.) 1995-09-29 03:57:48 +00:00
cgd
473d5f491e return dest string pointer, not source string pointer! 1995-09-26 03:37:10 +00:00
jonathan
945bd69ebd The old mips modf didn't work (pr 1048). This replaces it with
a version that does work on little-endian MIPS CPUs. Not tested on
big-endian MIPS; the "li.d" may be byteorder-dependent.
1995-09-25 19:28:27 +00:00
jonathan
946af1bccf Fix an old bug, whereby ASMSTR() was used before #including "SYS.h", where
it was defined.
1995-09-25 19:21:41 +00:00
christos
d0749900af Don't write a.out files; breaks parallel makes. 1995-09-25 00:57:28 +00:00
pk
dae6393cae atexit() cannot reliably be used in this context. Introduce `.fini' which
is called from rtld through _dlexit() or when this object is unloaded
(from Doug Rabson).
1995-09-23 22:38:22 +00:00
pk
3994f31209 Activate interface version 4: call dlexit() at exit. 1995-09-23 22:34:20 +00:00
phil
d995fcfdb1 correction from Matthias Pfaller. 1995-09-20 22:34:03 +00:00
thorpej
60f8dae203 Add the manual page links suggested my Luke Mewburn in PR 1449. This
is consistent with at least 2 other operating systems with YP subsystems.
1995-09-12 19:40:27 +00:00
thorpej
84b1a32da6 Fix typo pointed out by Luke Mewburn in PR 1449. Kill duplicate RCS id. 1995-09-12 19:33:03 +00:00
jtc
2bb92dc67a Don't bother with a m68k assembly version of insque/remque. Gcc
generates the pretty much the same code (I believe it is exactly
the same except for stack frame setup) as the generic C version.
1995-09-07 07:17:53 +00:00
mycroft
23de03812d Clean up a little, and fix a fencepost error. 1995-08-31 16:28:01 +00:00
jtc
aa8fc243af Don't overflow fixed sized buffers. Parts of this patch come from
Perry Metzger, Charles Hannum and Paul Kranenburg.
1995-08-30 21:20:36 +00:00
mycroft
ce6374e6be Do not terminate the search on errors other than ENOENT. 1995-08-24 05:26:35 +00:00
jtc
0ed73b3dc5 /usr/local/etc/zoneinfo -> /usr/share/zoneinfo; PR #1398 1995-08-22 19:28:15 +00:00
jtc
1840cfa21f pagesize(2) -> getpagesize(2) 1995-08-17 23:30:42 +00:00
pk
c060b81fb7 Make PIC-safe. 1995-08-14 15:47:32 +00:00
cgd
e7b36fb1b4 fast(!) bzero(), by Trevor Blackwell. 1995-08-14 04:09:23 +00:00
cgd
adca5aa4fc save & restore the argument registers, too. from Trevor Blackwell 1995-08-14 02:20:07 +00:00
cgd
c37c5ab530 Alpha assembly language bcopy(), written by Trevor Blackwell
<tlb@eecs.harvard.edu>.  I added support for using it as memcpy()
and memmove(), by compiling with the appropriate options.
1995-08-13 00:42:27 +00:00
cgd
2fe62c130b stubs to define things, and include the bcopy source 1995-08-13 00:40:47 +00:00
cgd
a4c632dfff bcopy is now a .S, add memcpy.S and memmove.S 1995-08-13 00:35:53 +00:00
jtc
cb188d3b35 fix typo 1995-08-12 05:02:46 +00:00
thorpej
110b961e86 Change a few bogus instances of ';' to the syntactically correct ','. 1995-08-11 01:10:21 +00:00
jtc
a6751cc939 Updated for LOG_FTP (PR #1312).
Edited the examples section so that they are all separated by a single
blank line, since they're unrelated.  SunOS' syslog(3) has a sentance
or two describing each line.  We'll either have to come up with our
own text or ignore it.  I'm ignoring it for now.
1995-08-11 00:34:34 +00:00
thorpej
0f77910137 Add and document a `kern.rawpartition' sysctl. 1995-08-04 18:36:08 +00:00
jtc
29308d7d0d stdio.h -> unistd.h 1995-07-30 06:05:35 +00:00
phil
e69d413643 Improvements to YP support from Jason Downs. 1995-07-28 05:43:01 +00:00
christos
a667b8f7d4 - Const poisoning
- KNF police
- Detect malloc failures
1995-07-14 21:04:17 +00:00
cgd
d9393d75fb fix pr 1214 slightly differently. i _didn't_ use the .Fa macro to
mark "file," because in context it didn't seem as if the argument was
being literally named.  rather it seemed that the argument's purpose
being described.  (the difference being: "... modification times of the
file named by file" would be a case where the the argument was named,
and thus be used with .Fa.)
1995-07-12 07:18:31 +00:00
pk
16e30a94d1 Deal with crash dumps again. 1995-07-05 18:41:25 +00:00
cgd
00fd6050b6 slight type cleanup. add some prototypes for internal functions,
some 'const' poisoning, some lvalue lossage.
1995-07-04 03:03:30 +00:00
jtc
b01f461032 Remove trailing comma from cross reference list. 1995-07-03 22:49:10 +00:00
jtc
3b6cda53f9 add setlocale(3) and strsignal(3) cross references 1995-07-03 22:48:08 +00:00
jtc
362ffa8883 remove bogus sys_errlist(3) cross reference 1995-07-03 22:46:21 +00:00
jtc
1eb9f79e6e added intro(2) cross reference 1995-07-03 22:44:42 +00:00
briggs
bc09c2e1b0 Take out cpu040 case for mac68k. 1995-07-01 19:26:03 +00:00
jtc
ba9dbab5b4 remove single quote from comment 1995-06-29 20:42:22 +00:00
cgd
d8eaa29f0f fix a piece of sloppy coding on my part. gdb -k still doesn't work, though. 1995-06-29 11:41:45 +00:00
cgd
8f0aa84845 make these manual pages match current reality 1995-06-29 11:40:44 +00:00
jonathan
c93ec6801c *** empty log message *** 1995-06-28 02:18:21 +00:00
cgd
abde65bef8 fix typo, as pointed out by David Brownlee 1995-06-27 22:32:28 +00:00
jtc
89bbe08617 Strip out unneeded header files 1995-06-26 23:04:45 +00:00
jtc
11c615eae7 Use "${BINOWN}" and "${BINGRP}" instead of "bin". 1995-06-26 22:15:56 +00:00
cgd
64b09480bb update to match reality. 1995-06-26 13:19:27 +00:00
cgd
873e3c7169 add mlock xrefs as suggested by davide@cs.cmu.edu 1995-06-24 10:47:05 +00:00
cgd
98c450a103 add mincore xref as suggested by davide@cs.cmu.edu 1995-06-24 10:42:03 +00:00
pk
02cf7515b7 Make PIC safe. 1995-06-20 22:45:46 +00:00
jtc
1847eaed9f sys/termios.h -> termios.h 1995-06-19 22:47:37 +00:00
cgd
3d113b326b don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated 1995-06-18 10:58:06 +00:00
jtc
9c87841ac4 Change return type of {get,set}{domain,host}name() from long to int. 1995-06-16 07:36:03 +00:00
jtc
edbbf562ba <sys/termios.h> -> <termios.h> 1995-06-16 07:20:35 +00:00
jtc
bd3ac90048 getsubopt() uses strcmp(), so include <string.h> 1995-06-16 07:15:18 +00:00
jtc
ed7060c4a6 Use standard conditional for rcsid definition. 1995-06-16 07:12:41 +00:00
jtc
915b76dd9f Don't cast void functions to void. 1995-06-16 07:05:27 +00:00
mellon
af776e8143 Correctly build gcrt0.o 1995-06-15 21:59:25 +00:00
mellon
0cfebbe02b start -> __start in END macro as well 1995-06-15 21:58:44 +00:00
mellon
96ba717024 start -> __start to avoid namespace bugs 1995-06-15 21:56:58 +00:00
pk
ef3ad469b6 Private strrchr() not needed for scrt0.o 1995-06-15 21:41:41 +00:00
jtc
752ff8fb6c don't include <sys/cdefs.h>, it's a 'private' header 1995-06-15 00:07:11 +00:00
jtc
0b2dbb02ca add explicit return type 1995-06-14 05:19:52 +00:00
jtc
6eaa1d60d8 define __atexit pointer 1995-06-14 05:17:53 +00:00
jtc
bebf039306 add extern qualifier to __atexit pointer declaration 1995-06-14 05:16:04 +00:00
jtc
15206427d4 Add btree(3) cross reference.
Lose self-referential cross reference.
1995-06-13 00:53:40 +00:00
jtc
a646349d2b Open with O_NONBLOCK, in case someone tries to open a blocking device
or a non-open fifo instead of a directory.
1995-06-12 19:38:02 +00:00
cgd
85ab28f7aa eliminate the need for some (fatal) casts. 1995-06-07 13:14:09 +00:00
cgd
ac2f3dfca6 be a bit more careful when splitting pathnames 1995-06-07 05:52:12 +00:00
cgd
da7c7d41dd build tags at library build time, not at install time. 1995-06-07 04:37:54 +00:00
cgd
5fb36cfb02 cast assignments to quiet const warnings. Mark (at least some) uses of
const variables that result in their modification (!!) as XXX.
1995-06-07 03:55:49 +00:00
pk
f087571372 First arg. of syscall2() is a quad_t. 1995-06-06 09:04:51 +00:00
pk
8ad14ce320 Correct tputs() argument declaration. 1995-06-06 08:14:37 +00:00
pk
18a59f7843 Declare tputs() as void. 1995-06-06 08:10:00 +00:00
pk
bd8c5cbee9 Prototypes (PR#1105) + some misc. reorganisation. 1995-06-05 19:48:33 +00:00
pk
f0f12c9e95 Prototypes (PR#1104). 1995-06-05 19:46:49 +00:00
pk
41621edd10 Prototypes (PR#1103). 1995-06-05 19:45:48 +00:00
pk
8347998a01 Prototypes (PR#1100). 1995-06-05 19:43:53 +00:00
pk
dde1c1a0be Prototypes (PR#1098). 1995-06-05 19:42:16 +00:00
pk
6355031191 Fix typo (Der mouse, PR #1115). 1995-06-05 11:48:26 +00:00
pk
69ae425298 Build run-time code for use in static executables, called `scrt0.o'. 1995-06-05 01:57:04 +00:00
pk
275fc2ee0d #include <dlfcn.h>, and <string.h> too. 1995-06-05 00:13:05 +00:00
pk
25b9fa86e4 one more prototype 1995-06-05 00:10:44 +00:00
pk
6226310a31 add dlerror() stub 1995-06-04 23:29:14 +00:00
mycroft
5860921eda Fill in sin_len. 1995-06-03 22:37:19 +00:00
mycroft
c7ad9c47f1 Fill in sin_len. 1995-06-03 22:24:45 +00:00
mycroft
89ef25dac6 Fill in sin_len. 1995-06-03 22:03:51 +00:00
pk
846beea318 Factor out common code. 1995-06-03 13:16:03 +00:00
mycroft
ac1e0f5127 Don't set the rgid or egid. Document this behavior. This is compatible with
SunOS and SysV.
1995-06-03 02:27:17 +00:00
pk
c64cecc457 Protoize (from Thorsten Lockert, PR #1070).
Some other cleanup.
1995-06-02 21:30:47 +00:00
mycroft
19755ba159 We must do setgid() explicitly now. 1995-06-02 21:25:09 +00:00
pk
fd77fcfc4c Make this compile warning-free (from Thorsten Lockert, PR 1071). 1995-06-02 15:55:27 +00:00
jtc
4cb508307a Don't duplicate the primary group. The first member of the groups list
no longer serves as effective group id.
1995-06-01 22:51:17 +00:00
ragge
1f67145235 Converted K&R -> ansi. 1995-06-01 01:11:41 +00:00
phil
f722fd7346 Update to -DDYNAMIC as I thought I had a long time ago. 1995-05-29 06:18:12 +00:00
mycroft
ee7138ecea Fix up the last argv pointer correctly when terminating early. 1995-05-25 03:03:42 +00:00
mycroft
800709ce22 Use inet_aton(), not inet_addr(). 1995-05-21 15:50:45 +00:00
mycroft
ac582e04f5 Fix one more reallocing bug. 1995-05-18 13:59:25 +00:00
mycroft
70258d9a3a Fix up another pointer if we realloc the argument list. 1995-05-18 12:21:54 +00:00
cgd
e9678161e2 from PR 952, by Thor Lancelot Simon: don't turn off echo when
inputting an S/KEY one-time password.
1995-05-17 20:24:39 +00:00
mycroft
be21323869 Modify getpwent() to use __ypparse(). 1995-05-17 17:36:43 +00:00
mycroft
6ee8835631 Keep argv[0] in a register. 1995-05-17 15:55:26 +00:00
mycroft
3ad209c804 Calculate environ directly from argc and argv, rather than searcing down
the argument list.
1995-05-16 16:25:04 +00:00
mycroft
470f22b967 Update copyright. 1995-05-16 14:26:15 +00:00
mycroft
5eb65c6b09 Use the new ps_strings format. 1995-05-16 14:23:06 +00:00
mycroft
6506fa2b16 Use the new ps_strings format. Find the arguments using their
addresses in the argv array, rather than guessing based on the location
of NULs.
1995-05-16 14:21:08 +00:00
jtc
7ca5cd45b0 strtok replaces the separator character, not the token, with a NUL.
(Fix from PR #891.)
1995-05-13 07:41:35 +00:00
jtc
3ba2c075cf #include appropriate header files to bring prototypes into scope 1995-05-13 06:58:18 +00:00
jtc
c1c8f42080 Changed core routines to call __ieee754_sqrt() instead of sqrt(). I
reported this enhancement to fdlibm-comments, and got the following
reply:

Date: Thu, 11 May 1995 14:35:25 -0700
From: Kwok.Ng@Eng.Sun.COM (KC Ng)
To: fdlibm-comments@sunpro.Eng.Sun.COM, jtc@cygnus.com
Subject: Re: fdlibm 5.2: why do core functions use sqrt?

> I noticed that core (e_*.c) fdlibm functions like __ieee754_acos()
> ensure that they call sqrt() with arguments in range (x > 0), when
> they could call __ieee754_sqrt() directly.
>
> Since sqrt() does a lot more work (verifies x is in range, etc.) is
> there any reason for this?  I'd think that calling __iee754_sqrt()
> would be more appropriate.  ....

You are right. __ieee754_sqrt should be in use with e_*.c.
1995-05-12 04:57:13 +00:00
jtc
9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
jtc
d042a3eb20 Id -> NetBSD 1995-05-10 20:44:22 +00:00
jtc
5abf82e236 Id -> NetBSD 1995-05-08 23:55:16 +00:00
jtc
0898887210 Id -> NetBSD 1995-05-08 23:44:37 +00:00
jtc
750e07c91c i387 float version of atan2() 1995-05-08 23:35:10 +00:00
mycroft
5c75c8b7ad Use global definitions of i386_[gs]et_ldt_args. 1995-05-06 19:21:37 +00:00
mellon
139d140728 Ensure that __progname is in .data, not in .sdata 1995-05-03 22:13:15 +00:00
jtc
11fa45b258 Add i387 "float" functions to the makefile 1995-05-03 20:42:23 +00:00
jtc
684161edae Added i387 remainderf and sqrtf 1995-05-03 14:47:35 +00:00
mycroft
aff3578b36 Explicitly unblock SIGALRM while waiting. 1995-05-03 12:52:43 +00:00
briggs
b1f67e2969 m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
1995-05-03 03:43:05 +00:00
phil
e4748bf0ca typo: fld_... -> flt_... 1995-05-03 03:25:11 +00:00
jtc
437b1a3f15 Enable C and Pig Latin message catalogs. 1995-05-02 19:57:15 +00:00
jtc
0e315a5455 C and Pig Latin message catalogs for libc 1995-05-02 19:56:27 +00:00
jtc
615fb07b15 The C Standard says that printf's format string is a multi-byte
character string.  NA1 says that the 99 characters required by the
Standard have representations in the initial state which are one byte
long and do not alter the state.

Thus we can safely break apart the format string with mbtowc() until
we reach a '%' character, and the process format directive characters
one by one.

We really shouldn't be using mbtowc(), rather mbrtowc() (which takes a
mbstate-t argument) but we don't have the NA1 functions implemented
yet.  This is safe, because even when we do we're not likely to
support multi-byte character encodings that use shift states.
1995-05-02 19:52:41 +00:00
mycroft
66f0c16f14 Use POSIX tty semantics. 1995-05-02 01:40:14 +00:00
christos
42c2892cc9 Fixed the key mapping code and reverted Charles' changes. 1995-04-29 20:44:00 +00:00
cgd
64fe160dd5 include string.h and/or stdlib.h as appropriate, if NetBSD. 1995-04-29 05:42:23 +00:00
cgd
2583d406f9 change some of the rpc "on-the-wire" structures' fields to be explicitly-sized
types.  add xdr_{,u_}int{16,32}_t() functions to convert them.
This is necessary, because things like BPF use the RPC headers to look
at the on-the-wire data, so the headers must accurately represent
what's on the wire, too.
1995-04-29 05:26:31 +00:00
cgd
d2e405e546 functions to set FP exception masks & sticky exceptions. they abort, for now. 1995-04-29 05:10:55 +00:00
cgd
3e14f3894b get & set FP rounding direction. these actually seem to work. 1995-04-29 05:09:53 +00:00
cgd
234eecadfb add entries for the float rounding and exception functions 1995-04-29 05:09:14 +00:00
jtc
528957a005 Winning Strategies has placed this code into the Public Domain 1995-04-28 23:19:22 +00:00
jtc
7b4ed4f858 Winning Strategies has placed this code into the Public Domain 1995-04-28 22:59:46 +00:00
jtc
390695fb9c $Id: $ -> $NetBSD: $ 1995-04-28 22:57:54 +00:00
jtc
954b796156 Winning Strategies has placed this code into the Public Domain 1995-04-28 22:53:59 +00:00
jtc
5c7208348c Winning Strategies has placed this code into the Public Domain 1995-04-28 22:43:31 +00:00
jtc
a6fa20ea30 Added __flt_rounds, fp{get,set}round. 1995-04-28 21:57:00 +00:00
jtc
5e5fe216ab removed log2 from manpage, libm doesn't provide that function. 1995-04-27 18:21:43 +00:00
mycroft
c1a3077d03 Remove dead code that can't possibly work. 1995-04-27 04:49:26 +00:00
mycroft
4d13217262 Trivial code ordering change. 1995-04-27 03:59:38 +00:00