#
3a9dd5c3 |
| 19-Oct-2016 |
bluhm <bluhm@openbsd.org> |
Remove the save_errno dance inside strerror_r(3). It is from the time when we had national language support. OK millert@
|
#
a842d206 |
| 25-Oct-2015 |
bluhm <bluhm@openbsd.org> |
The only thing that was translated into multiple languages in OpenBSD are the errno messages and signal names. Everything else is in English. We are not planning to translate more text. Running a
The only thing that was translated into multiple languages in OpenBSD are the errno messages and signal names. Everything else is in English. We are not planning to translate more text. Running a mixed system with less than 1% of the text in native language makes no sense. So remove the NLS support from libc messages. The catopen(3) functions stay as they are. OK stsp@ mpi@
show more ...
|
#
3f5ad7fc |
| 06-Sep-2015 |
guenther <guenther@openbsd.org> |
Fix aliasing of sys_errlist, sys_nerr, sys_siglist, and sys_signame to eliminate duplicate copies of the tables and get direct access internally
ok kettenis@ deraadt@
|
#
e969daf4 |
| 05-Sep-2015 |
guenther <guenther@openbsd.org> |
Use new framework for wrapping cat{open,gets,close}(), eliminating _cat* in the process.
ok kettenis@
|
#
9b9d2a55 |
| 31-Aug-2015 |
guenther <guenther@openbsd.org> |
Add framework for resolving (pun intended) libc namespace issues, using wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that
Add framework for resolving (pun intended) libc namespace issues, using wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.
tests clean on i386, amd64, sparc64, powerpc, and mips64
naming feedback from kettenis@ and millert@ ok kettenis@
show more ...
|
#
e62104c6 |
| 01-Jun-2013 |
stsp <stsp@openbsd.org> |
Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008.
Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error m
Fix catopen(3) for UTF-8 locales and update the implementation to POSIX-2008.
Catalogs had an arbitrary character set which was used regardless of locale. Add UTF-8-encoded catalogs for libc error messages, and rename existing ones to indicate their character sets. catopen(3) now chooses a catalog which matches the locale's encoding, if available.
help & ok matthew, man page bits ok jmc, input from naddy and bluhm
show more ...
|
#
c6ac99c8 |
| 01-Mar-2007 |
bluhm <bluhm@openbsd.org> |
If NLS is disabled, strerror does not print the correct error string. No binary change with NLS enabled.
ok otto millert espie
|
#
c2c925de |
| 08-Aug-2005 |
espie <espie@openbsd.org> |
zap remaining rcsid.
Kill old files that are no longer compiled.
okay theo
|
#
53d7e922 |
| 26-May-2005 |
otto <otto@openbsd.org> |
Merge common functionality of __strsignal and strerror_r. ok jaredy@ miod@
|
#
d4786f81 |
| 08-May-2005 |
otto <otto@openbsd.org> |
Only append number when it fits to avoid truncation and return appropriate error number. ok miod@, millert@ on an earlier version; ok jaredey@
|
#
5233054a |
| 20-Apr-2005 |
beck <beck@openbsd.org> |
correct strlcpy abuse ok millert@
|
#
232b982a |
| 03-May-2004 |
espie <espie@openbsd.org> |
build the error message in strerror_r.c directly, avoiding one copy there. handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno se
build the error message in strerror_r.c directly, avoiding one copy there. handle a few subtle details caught by the regression tests: correct termination, non copying if buffer length == 0, errno setting. let all former users of __strerror go through strerror_r.
Work by Todd Miller and I. Okay millert@.
show more ...
|
#
b418cc48 |
| 21-Nov-2002 |
marc <marc@openbsd.org> |
Add strerror_r and functions versions of getchar_unlocked and putchar_unlocked. Crank the minor on related libs. OK fgs@, deraadt@
|