Sergey Poznyakoff wrote: > ! inp_text = __strndup (argp->doc, inp_text_len); > ! } > ! } > ! else > ! inp_text = post ? 0 : argp->doc; > ! trans_text = dgettext (argp->argp_domain, inp_text);
In either case of the 'if' branch, inp_text can end up being NULL. But it is not allowed to pass a NULL string argument to dgettext. The GNU gettext manual says (for gettext): If the argument is `NULL' the result is undefined. Bruno