From 17d03a4deb7ed18abb4e0e590e6315050d9c29fd Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 10 Jun 2020 06:10:04 +0300 Subject: Add mbuilov fixes. Still needs review. --- builtin.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'builtin.c') diff --git a/builtin.c b/builtin.c index dc8d1a8e..7ef2acd8 100644 --- a/builtin.c +++ b/builtin.c @@ -3997,6 +3997,9 @@ do_bindtextdomain(int nargs) DEREF(t2); } + if (the_result == NULL) + the_result = ""; + return make_string(the_result, strlen(the_result)); } -- cgit v1.2.3