]> git.michaelhowe.org Git - packages/o/openafs.git/commit
com_err: correctly deal with lack of libintl
authorTom Keiser <tkeiser@sinenomine.net>
Wed, 1 Feb 2012 08:31:23 +0000 (03:31 -0500)
committerDerrick Brashear <shadow@dementix.org>
Thu, 23 Feb 2012 01:45:15 +0000 (17:45 -0800)
commitc0184656b65ee53f29fa0d4b62ec789de4d96e79
tree3e6e1bc5bdb31336cd677bf7d9c15a297fa87e4c
parente0e23418bb5569683a3afbba68ae718f060ad00b
com_err: correctly deal with lack of libintl

On machines lacking a libintl, _intlize() currently fails to initialize
the output error string--leading to tools (e.g., translate_et) returning
a null string; make afs_com_err fall back to returning the en/US canonical
error text when we don't have any i18n support...

Reviewed-on: http://gerrit.openafs.org/6638
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit ef63547e955edc60e2d074ef825b091e1c43882e)

Change-Id: Id138e48826aa855bd87e47f201ed6840399aa640
Reviewed-on: http://gerrit.openafs.org/6752
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/comerr/error_msg.c