Commit Graph

154 Commits

Author SHA1 Message Date
jtc
afdcfb9eeb Use __sys_errlist[] & __sys_nerr. 1994-10-10 04:52:13 +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
9be3c7f228 Minor tweaks to prepare for checkin of real i18n code. 1994-09-29 04:57:04 +00:00
jtc
0f67980cb1 Don't define sys_siglist, <signal.h> does that already 1994-09-12 18:43:12 +00:00
jtc
6d3bf399eb __strerror() and __strsignal() have been broken out into their own files
and use message catalogs if NLS is defined.
Increased the size of char buffers used by strerror() and strsignal();
the error and signal strings may be much longer in some locales.
1994-09-03 05:07:49 +00:00
jtc
a0752b653c Minor touch ups to match strsignal(3) man page 1994-08-02 05:02:13 +00:00
jtc
18ba4287c5 Add strsignal() function like on Solaris.
We might want to be able to retrieve a locale-specific signal description
(from a message catalog) and we need a function call API for that feature.
1994-08-02 05:01:20 +00:00
mycroft
1454a5a41f We're supposed to include ${CPPFLAGS} when compiling .c files. 1994-07-06 04:07:53 +00:00
cgd
23aca3d339 rcs id's 1994-06-22 00:17:04 +00:00
cgd
7f79e48c1a add Boyer-Moore string search routines, from Bostic. man page
needs to be fixed for mandoc, and RCSID's need to be added.
1994-06-22 00:15:22 +00:00
jtc
fe4dd97bd4 Remove unneeded #include <stddef.h> because <string.h> #defines NULL too. 1994-06-11 16:49:13 +00:00
jtc
15d0e3dedd Get the day, month, format, etc. strings from the current time locale
structure instead of static data.
1994-05-25 01:20:19 +00:00
jtc
e01da66af0 POSIX.1 says that strftime() must call tzset() as an application can change
the TZ environment variable while it is running.

Arnold Robbins' strftime() implementation from comp.sources.unix caches
the value of TZ to avoid calling tzset() (it's expensive) unless it has
been changed.  But since POSIX.1 also requires ctime(), localtime(),
and mktime() to call tzset(), I think that it is better for tzset()
itself to determine whether or not to parse a new timezone file.
1994-04-22 22:11:52 +00:00
deraadt
fa21a45545 fix for "%R" from <seanv@cs.uq.edu.au> 1994-04-07 06:52:14 +00:00
phil
d5e9c48073 Changing the ns32k stuff. 1994-02-25 07:42:01 +00:00
jtc
62c2139aff Fix spelling errors. 1994-01-10 23:58:48 +00:00
jtc
412e7d5328 More manpage tweaks. 1993-12-15 20:32:47 +00:00
mycroft
7af32d8c3c memcpy.S and memmove.S on i386 are now separate. 1993-12-10 10:55:12 +00:00
mycroft
ed306b5df9 Add strchr.S and strrchr.S for m68k. 1993-12-08 21:03:05 +00:00
pk
49d5ac06cc Added some Sparc sources. 1993-12-08 13:31:01 +00:00
mycroft
b06640f168 Also a memcpy.S for m68k. 1993-12-07 01:00:06 +00:00
mycroft
e3b5d6cf18 Remove -p flags from .so builds. 1993-12-07 00:54:09 +00:00
mycroft
91ae666ad3 Add memmove.S to m68k assembler stuff. 1993-12-06 23:39:42 +00:00
mycroft
5897de064c Use assembler versions of m68k stuff. 1993-12-06 23:22:15 +00:00
cgd
4db8a8637b fix things so that memmove.so, et al., are built correctly on
machines w/o architecture-specific sources.
1993-12-06 03:10:35 +00:00
briggs
bdb4a3a91a Changed occurance of MACHINE_ARCH == "hp300" to MACHINE_ARCH == "m68k" 1993-12-05 15:45:52 +00:00
cgd
f00e1cfe6a get pc532 moved into ns32k; that's is MACHINE_ARCH 1993-12-05 02:20:58 +00:00
cgd
0ada107897 update for .S and MACHINE_ARCH 1993-12-04 02:33:35 +00:00
jtc
17585e0f6d Manpage formatting tweaks. 1993-12-01 18:49:52 +00:00
jtc
bfa380abab BDS -> BSD 1993-11-25 01:48:23 +00:00
jtc
c28d7928bf Don't cross-reference ourself. 1993-11-25 01:48:07 +00:00
cgd
c8c15b1c4c don't compiler strerror.c source here, and clean up. 1993-10-18 20:24:34 +00:00
jtc
845bf7e773 Helper function _strerror is in the user's namespace, renamed it to
__strerror().
1993-10-09 00:11:01 +00:00
jtc
473c152a0a Moved strerror.[c3] from libc/stdio to libc/string.
Since perror is not permitted to change strerror()'s static buffer, I have
changed both functions to pass their own buffers to the new library-internal
function _strerror() that actually does the error message string look up.
Split strerror manpage into strerror and perror manpages.
1993-10-07 19:27:50 +00:00
cgd
0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00
jtc
20ae84f65b Add swab.c or swab.s, as appropriate, to each machines source list instead
of always using swab.c
1993-10-05 18:30:18 +00:00
phil
7ce7cb30df pc532 specifics. 1993-09-17 19:22:50 +00:00
jtc
9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
jtc
cbc115a0d5 Added the additional `%'' format specifiers and the E'' and `O''
format modifiers that are needed for a 1003.2 compliant date(1).  The
modifiers don't actually do anything at present and are not documented.
It's too confusing to the user to describe localization features when
they aren't implemented yet.  It is safe to do this, as the modifiers
fall back to the default behavior if the locale doesn't support alternate
eras or numeric formats.

But, in anticipation of _some_ locale support, all month and day names and
abbrevs, certain time formats, am/pm, etc. are now accessed through variables.
1993-08-19 16:39:47 +00:00
mycroft
52efca41cd Nuke remaining patchkit headers. 1993-08-02 18:17:24 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
jtc
527e6a5736 Add i386 assembly versions of bcmp & memcmp 1993-06-17 23:00:41 +00:00
jtc
b51b2fdb46 enable memset & memchr. 1993-06-17 16:14:32 +00:00
mycroft
686b9e0da1 Actually, just make memcpy() an alias for memmove(). 1993-06-16 18:38:38 +00:00
mycroft
33c9c47425 Oops. Forgot to update the Makefile. 1993-06-16 18:33:25 +00:00
jtc
5d2d1a3364 Added i386 assembly language versions of ffs, strcat, strcpy, and strlen. 1993-06-16 16:02:26 +00:00
jtc
800e6b4bac Added fast strcmp() and strncmp() routines. 1993-06-15 23:25:30 +00:00
cgd
10e1e6a373 add assembly language version of index, rindex, strchr, and strrchr
supplied by J.T. Conklin <conklin@kaleida.com>
1993-05-07 03:01:27 +00:00
cgd
e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00