Commit Graph

1151 Commits

Author SHA1 Message Date
deraadt
5b951fb823 fix typo 1994-10-12 02:35:26 +00:00
jtc
8f2c7fd229 Don't bother checking if errno is in range --- strerror() already does
that.
1994-10-10 04:56:01 +00:00
jtc
d5f2bfb17a Use __sys_siglist[]. 1994-10-10 04:53:01 +00:00
jtc
afdcfb9eeb Use __sys_errlist[] & __sys_nerr. 1994-10-10 04:52:13 +00:00
mycroft
54e2c82954 Clean up deleted files. 1994-10-10 04:46:46 +00:00
jtc
c50384799a Renamed sys_errlist[] and sys_nerr to __sys_errlist[] and __sys_nerr.
The traditional API of sys_errlist[] and sys_nerr is provided by weak
references if they are supported.  Otherwise, we're forced to have to
have two copies of the error message string table in the library.
Fortunately, unless a program uses both sys_errlist[] and strerror(),
only one of the copies will be linked into the executable.

This is all to provide an clean namespace as required by ANSI.  I've
done the same for sys_siglist[], even though it is not required, to
be consistant.
1994-10-10 04:46:39 +00:00
mycroft
e94c4d1ac4 Fix typo. 1994-10-07 11:40:53 +00:00
jtc
76cf6eaace Call internal NLS interfaces: __catopen(), __catgets(), and __catclose(). 1994-10-06 18:17:52 +00:00
jtc
d9c2e7b590 Change size of array passed to __strsignal() from 128 to NL_TEXTMAX. 1994-10-06 18:16:18 +00:00
jtc
e19f10c79b Change size of array passed to __strerror() from 128 to NL_TEXTMAX. 1994-10-06 18:14:53 +00:00
jtc
f5e46c89f4 Call __strsignal() instead of accessing sys_siglist[] directly. 1994-10-06 18:07:45 +00:00
jtc
f81cf24ac7 It looks like most people were in favor of enabling NLS in the C library. 1994-10-06 05:47:57 +00:00
jtc
56fa6d53b4 Public versions of catopen(), catgets(), and catclose().
Implemented with weak references if they are supported, otherwise by
function calls that call the private versions.
1994-10-06 05:44:39 +00:00
jtc
072b0afc87 Renamed catopen(), catgets(), and catclose() to __catopen(), __catgets(),
and __catclose().
Made MCGetSet() and MCGetMsg() static.
1994-10-06 05:41:45 +00:00
mycroft
837f99d25c Clean up deleted files. 1994-10-06 04:38:25 +00:00
jtc
57e2aaa1a7 Removed non-standard and undocumented MCAppPath feature 1994-10-05 17:33:50 +00:00
jtc
be0eb1df9e fix typo 1994-10-05 17:31:50 +00:00
mycroft
5251d09ee1 Don't even *try* to print out the name of the termcap file; it's hidden
in libtermcap, and it normally uses the DB file anyway.
1994-10-02 04:27:28 +00:00
mycroft
5e53b2b629 Nuke bogus baud rate conversion code. 1994-10-02 04:23:08 +00:00
jtc
68523b5d88 Added code so that POSIX.2 regular expresion functions are used if REGEX
is defined, V8 regular expresion functions are used if REGEXP is defined,
and BSD regular expression functions are used if neither are defined.
And defined REGEX in sys.h so that programs using libedit don't have
to link with libcompat.
1994-10-02 02:10:48 +00:00
jtc
c36fd69bc3 The decimal point character is locale specific. 1994-09-30 02:39:13 +00:00
jtc
797d32eb10 New setlocale() that does everything except actually load new locales;
and that's coming in the next week.
1994-09-30 02:20:50 +00:00
jtc
9be3c7f228 Minor tweaks to prepare for checkin of real i18n code. 1994-09-29 04:57:04 +00:00
deraadt
d87a87c753 check for ypbind.lock file, which indicates yp is alive. 1994-09-28 01:38:06 +00:00
jtc
c446bbd004 Added s_isinff.c 1994-09-25 17:31:51 +00:00
jtc
d797a5d5e9 __infinity[] and isinf() for systems whose C libraries don't supply them;
and isinff(), a "float" version of isinf().
1994-09-25 17:29:47 +00:00
jtc
43e6dd4c8e Add prototype for isinff(). 1994-09-25 17:27:56 +00:00
jtc
d1f06e0b8f LIBM_SCCS must be defined for the RCS ID to be defined.
This library will soon be used by DJGPP.  And since memory is often tight
on DOS machines, there is little benifit to be had from including RCS IDs.
1994-09-22 16:39:08 +00:00
deraadt
432a32dc33 don't print a "not responding" message for first failure. 1994-09-20 07:20:36 +00:00
mycroft
1ac05a7acc Fix oversight in last change. 1994-09-19 23:46:29 +00:00
mycroft
fedcc257c7 Update to 4.4-Lite version. 1994-09-19 07:50:52 +00:00
mycroft
2c009d6038 Remove the #define KERNEL, now that we don't need it. Too bad we need FREAD and
FWRITE at all.  Sigh.
1994-09-19 07:38:27 +00:00
mycroft
e9d5734eb6 Move FLOATING_POINT definition into Makefile.inc. 1994-09-19 04:43:02 +00:00
mycroft
485773b00a Fix null pointer dereference, per Rolf Grossman. 1994-09-19 04:32:45 +00:00
mycroft
3270e71a99 Stylistic changes. 1994-09-18 04:32:35 +00:00
mycroft
09aa8eb440 Clean up deleted files. 1994-09-18 03:32:52 +00:00
mycroft
96e437894b Merge the m68k files. The code itself should be merged. 1994-09-18 03:32:50 +00:00
deraadt
9de7a8a1d8 If the binding file doesn't exist, we need to try RPC to ypbind
to wake it up. This probably fixes my problem with amd.
1994-09-18 02:56:00 +00:00
deraadt
fdf894abcd should work for sun4 and sun4c 1994-09-18 02:32:50 +00:00
mycroft
b707f8aa13 Move the swap page buffer into struct __kvm. Cache the page size during
kvm_open().  Fix an existing memory leak.
1994-09-18 01:52:01 +00:00
deraadt
dbccee1a87 Don't use NBPG/PGOFSET/PGSHIFT. Use getpagesize() and calculate them. 1994-09-18 00:22:22 +00:00
mycroft
bccad89957 Swap the definition of {lrand,nrand} with {mrand,jrand} to reflect reality. 1994-09-17 01:01:53 +00:00
mycroft
97a272bc2e vmunix --> netbsd 1994-09-17 00:17:12 +00:00
mycroft
f41d9ebe51 Use an explicit references to UIO_MAXIOV, rather than a number. ref: PR 433 1994-09-16 03:08:46 +00:00
pk
9c216a1fb2 Cache pagesize. 1994-09-15 10:49:53 +00:00
pk
07dce62879 Use getpagesize() in stead of CLBYTES. 1994-09-15 10:48:51 +00:00
deraadt
2736881bfb Kill the YP code. 1994-09-15 02:11:17 +00:00
jtc
b4f978017e Remove CYGNUS_LOCAL comment: I maintain this code for NetBSD, not Cygnus 1994-09-13 00:40:33 +00:00
jtc
0f67980cb1 Don't define sys_siglist, <signal.h> does that already 1994-09-12 18:43:12 +00:00
mycroft
6ba85483c3 Use bfffo rather than a slow loop. 1994-09-09 03:07:23 +00:00