forked from aniani/vim
patch 9.1.0560: bindtextdomain() does not indicate an error
Problem: bindtextdomain() does not indicate an error (after v9.1.509) Solution: return false on failure (OOM). (Chris van Willegen) closes: #15116 Signed-off-by: Christ van Willegen <cvwillegen@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
965091001f
commit
8252ef134f
@@ -598,7 +598,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring);
|
||||
# ifdef bindtextdomain
|
||||
# undef bindtextdomain
|
||||
# endif
|
||||
# define bindtextdomain(x, y) // empty
|
||||
# define bindtextdomain(x, y) ""
|
||||
# ifdef bind_textdomain_codeset
|
||||
# undef bind_textdomain_codeset
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user