commit | ec0b482e9fd27cb994b30e0f1b8a4d39a85735cc | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Thu Jun 30 20:41:07 2016 -0500 |
committer | Rob Landley <rob@landley.net> | Thu Jun 30 20:41:07 2016 -0500 |
tree | 8bcc18d50c30c59d2d4f1cf35c4e3fc6035ded05 | |
parent | 20f67f157c2284057328e6391d10e329b088f8d2 [diff] |
Fix option parsing infrastructure bug. In main.c: used adjusted string with placeholers for removed options (so flag values don't move based on config, allowing FORCE_FLAGS to work). In scripts/mkflags.c: test was wrong, a bare longopt never matches a single letter command, but it was treated as always matching when comparing allyesconfig vs current config to determine which options were disabled, so there was a corner case that got the flag values wrong.