Commit Graph

1510 Commits

Author SHA1 Message Date
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
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 5993e44288 kvm_vax.c added. 1995-04-25 15:41:11 +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 460abf6176 kvm machine specific code for VAX. 1995-04-17 12:44:34 +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