* errors.c (krb5int_get_error): Try strerror_r if available before strerror.
authorKen Raeburn <raeburn@mit.edu>
Wed, 19 Apr 2006 20:23:46 +0000 (20:23 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 19 Apr 2006 20:23:46 +0000 (20:23 +0000)
commitd29518ffa3a2100c7c7296ac1afdc7b1202035f1
treed7e8c13d357c041819479059dcb94c7009b552d1
parentdcc9a3bb91928d7bf3e871fd469a536fa322ad48
* errors.c (krb5int_get_error): Try strerror_r if available before strerror.
* plugins.c (ERRSTR): New macro, tries strerror_r and uses strerror only if it
fails or isn't available.
(krb5int_open_plugin_dir): Use it.

ticket: 3620
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17944 dc483132-0cff-0310-8789-dd5450dbe970
src/util/support/errors.c
src/util/support/plugins.c