On 7/8/18, Silvan Jegen <[email protected]> wrote:
> Heyho
>
> Found this when running smatch on sbase.

The current code is correct. -H should turn on gflags.h, and turn off
gflags.l. POSIX says each flag should override the other. I agree that
the current code is a little confusing.

It would probably be clearer as

case 'H': gflags.h = 1; gflags.l = 0; break;
case 'L': gflags.h = 0; gflags.l = 1; break;

Reply via email to