[LTP] [PATCH v2 1/3] lib: Ignore empty LTP_ENABLE_DEBUG

Petr Vorel pvorel@suse.cz
Fri Mar 27 10:38:18 CET 2026


Hi Li,

> > -	if (tdebug_env && !context->tdebug) {
> > +	if (tdebug_env && tdebug_env[0] != '\0' && !context->tdebug) {

> Or, more shorten:

>     if (tdebug_env && *tdebug_env && !context->tdebug) {

+1, thank you! (I'll amend before merge or in the next version)

Kind regards,
Petr


More information about the ltp mailing list