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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
jtc
ba9dbab5b4
remove single quote from comment
1995-06-29 20:42:22 +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
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
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
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
da7c7d41dd
build tags at library build time, not at install time.
1995-06-07 04:37:54 +00:00
pk
6355031191
Fix typo (Der mouse, PR #1115 ).
1995-06-05 11:48:26 +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
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
mycroft
19755ba159
We must do setgid() explicitly now.
1995-06-02 21:25:09 +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
mycroft
800709ce22
Use inet_aton(), not inet_addr().
1995-05-21 15:50:45 +00:00
mycroft
be21323869
Modify getpwent() to use __ypparse().
1995-05-17 17:36:43 +00:00
mycroft
5eb65c6b09
Use the new ps_strings format.
1995-05-16 14:23:06 +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
9ae90685f2
Winning Strategies has placed this code in the public domain.
1995-05-11 23:03:44 +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
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
a6fa20ea30
Added __flt_rounds, fp{get,set}round.
1995-04-28 21:57:00 +00:00
christos
c6284ba067
The typo police "dase" != "case"
1995-04-25 21:41:48 +00:00
christos
348d202923
Fix typo...
1995-04-25 21:22:17 +00:00
ragge
ae8e3c9f1a
Changed abs.S to abs.c for vax.
1995-04-25 15:36:39 +00:00
jtc
02788519a9
termios code has been moved to new libc/termios directory.
1995-04-25 00:06:17 +00:00
jtc
5f11a56ca9
Initial checkin of termios directory. The code used to be in
...
gen/termios.c, but has been split out so that NetBSD users don't trip
over the extensions that intrude into the POSIX namespace.
1995-04-25 00:04:21 +00:00
jtc
798d2ef128
Handle new termios subdirectory.
1995-04-25 00:00:58 +00:00
jtc
6d97ed4663
Use a switch instead of three if statements in xdr_long() and xdr_u_long(),
...
gcc generates slightly better code on all of the architectures I checked.
Also changed xdr_wrapstring to return the return value of xdr_string
directly.
1995-04-24 23:33:39 +00:00
cgd
b523e3778b
cast last argument of catgets() to (char *) to quiet compiler's complaints
...
about loss of 'const'-ness.
1995-04-24 16:37:31 +00:00
cgd
99a919e044
fix typo(?): rpc__errlist usage shouldn't have had two underscores.
...
Also, cast return types to (char *) to quiet compiler's complaints about
loss of 'const'-ness.
1995-04-24 16:34:39 +00:00
pk
a3fa60161e
Preserve the equality "x == y*(x/y)+(x%y)" for negative y; from Lon Willett.
1995-04-22 09:33:49 +00:00
jtc
61207f1472
Changed auth_errmsg() and clnt_sperrno() to access error messages
...
directly instead of by linear search.
1995-04-21 21:59:52 +00:00
jtc
9f3b5edc71
Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---
...
they only take two arguments. Presumably this was done to prevent
problems when users passed xdr_string instead of xdr_wrapstring.
Function prototypes are a better way to fix this "problem".
1995-04-21 21:49:29 +00:00
jtc
5c433aa57e
char * -> const char *
1995-04-19 23:31:15 +00:00
ragge
db0c9cd300
Removed VAX specific definitions.
1995-04-17 12:28:29 +00:00
ragge
ce0bb6e8d2
Added libc VAX specific files.
1995-04-17 12:23:33 +00:00
jtc
29f53fb76f
Removed comment that explained that this code is not portable. A better
...
comment is already present near the top of the file.
1995-04-14 20:34:41 +00:00
jtc
adc4ab0186
Don't pass a third argument (LASTUNSIGNED) to xdrproc_t functions ---
...
they only take two arguments. Presumably this was done to prevent
problems when users passed xdr_string instead of xdr_wrapstring.
Function prototypes are a better way to fix this "problem".
1995-04-14 20:30:16 +00:00
jtc
3c565bbea8
Changed bzero to memset.
...
Changed bcmp to memcmp.
Added #include <string.h> to bring prototypes into scope.
1995-04-14 19:48:20 +00:00
jtc
4af41fe4b3
bcopy -> memcpy
1995-04-14 19:25:13 +00:00
jtc
d4afa3b7f5
Use ${DESTDIR} when installing libc.tags
1995-04-12 00:56:12 +00:00
jtc
53bd3d0603
Added __flt_rounds, fp{get,set}{mask,round,sticky}.
1995-04-11 18:13:49 +00:00
jtc
01194e13e9
Bump minor version for __flt_rounds() and fp{get,set}{round,mask,sticky}.
...
These functions are only available for the i386, m68k, and the sparc but
we can't wait for the other architectures (because FLT_ROUNDS, which
expands to __flt_rounds(), is likely being used in someones code).
1995-04-11 14:28:16 +00:00
cgd
76a6b7c3b3
fix operator precedence error (pr 951 from Ted Lemon)
1995-04-11 02:57:52 +00:00
jtc
a0c1305064
Added __flt_rounds, fp{get,set}{mask,round,sticky}.
1995-04-10 21:09:06 +00:00
mycroft
ae34e2ea6e
Put jtc's notice back, since these are now roughly identical.
1995-04-09 23:32:53 +00:00
mycroft
ac11de32c1
Actually, bitfields are faster on the '040; optimize for it, but adjust the
...
fields so that the mask and sticky bits are the same.
1995-04-09 23:28:38 +00:00
mycroft
99a6cfe734
Rewrite these to use the accrued exception byte for sticky flags, and to
...
avoid expensive bitfield instructions.
1995-04-09 22:49:26 +00:00
mycroft
10cfe03e6d
Stylistic change to match fpsetsticky().
1995-04-09 21:55:50 +00:00
mycroft
65a1322cd9
Reverse sense of exception bits.
1995-04-09 21:55:20 +00:00
mycroft
42d9c8af6c
Oops; need to use fnstenv/fldenv for this.
1995-04-09 21:00:57 +00:00
mycroft
a94ab51d20
Fix typo.
1995-04-09 20:44:02 +00:00
mycroft
10b402aa60
Add fpset{mask,round,sticky}().
1995-04-09 20:33:13 +00:00
mycroft
ddbc579aa7
Another optimization.
1995-04-09 19:31:33 +00:00
mycroft
14e246dc4a
Optimize.
1995-04-09 19:18:49 +00:00
jtc
907e54c9e9
ENTRY(fpgetmask) -> ENTRY(fpgetsticky)
1995-04-09 19:14:28 +00:00
jtc
1b41528de0
removed commented-out #include <machine/asm.h>
1995-04-09 19:13:26 +00:00
jtc
80bba6a1e1
Added flt_rounds, fpget{round,mask,sticky}.
1995-04-07 14:57:16 +00:00
jtc
30c05ea2b8
Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
1995-04-07 00:41:43 +00:00
jtc
2ef4abe78f
change second arg of fgets() from size_t to int
1995-03-25 02:50:04 +00:00
jtc
f86410093b
Changed name of __weak_reference() to __indr_reference(). They really
...
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
7870f9f542
removed unnecessary #include <stddef.h>
1995-03-23 19:51:13 +00:00
jtc
92702b3bed
removed unnecessary #include <stddef.h>
1995-03-23 19:42:42 +00:00
jtc
4255068068
Removed const qualifier from ftell's FILE * argument. It's not ANSI,
...
and the recent change to flush output causes it to be changed.
1995-03-22 18:17:24 +00:00
jtc
39469721f8
update minor number for new quad_t versions of abs and div
1995-03-22 00:58:07 +00:00
jtc
3b29974599
Added "long long" support %ll{d,x,o,i}.
1995-03-22 00:56:55 +00:00
jtc
7681b92c66
Enable qabs(), a quad_t version of abs() and labs().
1995-03-22 00:36:52 +00:00
jtc
918d73c578
LDIV -> QDIV
1995-03-21 23:46:00 +00:00
jtc
bec46bcced
add cross references to qdiv(3)
1995-03-21 23:22:17 +00:00
jtc
bfd7fc20d9
New function qdiv. Like div and ldiv, but works with quad_t's.
1995-03-21 23:12:35 +00:00
jtc
5091f60d44
ldiv takes long arguments
1995-03-21 22:54:50 +00:00
jtc
d1a49b5d27
#include <machine/endian.h>.
1995-03-21 20:54:05 +00:00
mycroft
62648a14f0
Clone from sleep(), with the logic for returning a value removed.
1995-03-21 13:50:32 +00:00
mycroft
d53dfd3d3c
Minor changes.
1995-03-21 13:44:40 +00:00
mycroft
f75ba16b09
Update to use timer{add,sub}().
1995-03-21 13:33:34 +00:00