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

Petr Vorel
2026-03-27T09:39:01Z

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