Commit Graph

9 Commits

Author SHA1 Message Date
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
jtc ace90ad26b Since the user provide his own message catalog (via NLSPATH and LANG)
the __strerror() and __strsignal() functions can not assume that the
messages will not overflow a NL_TEXTSIZE-sized buffer.

Noted by Mike Long <mike.long@analog.com> in PR
1996-10-11 00:51:07 +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
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
jtc 92737ece73 Rework indirect reference support as outlined by my recent message to
the tech-userlevel mailing list.
1994-12-12 22:42:20 +00:00
jtc 1bd8c27e8b Private versions of cat*() functions now have only one leading underscore. 1994-11-18 15:38:32 +00:00
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 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