mrg
9cd5492c02
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
...
- some KNF.
1997-01-23 14:01:45 +00:00
cgd
6e4431ed29
stnrcpy() isn't a function. strncpy() is. Use it instead.
1996-10-11 20:59:20 +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
752ff8fb6c
don't include <sys/cdefs.h>, it's a 'private' header
1995-06-15 00:07:11 +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
cgd
517cf49336
case to quiet compiler.
1994-10-19 03:09:00 +00:00
jtc
d5f2bfb17a
Use __sys_siglist[].
1994-10-10 04:53:01 +00:00
jtc
76cf6eaace
Call internal NLS interfaces: __catopen(), __catgets(), and __catclose().
1994-10-06 18:17:52 +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