When a value would not change, emit a message indicating such. This
aligns with sysconf which does the same thing.
Details
Details
- Reviewers
kfv
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 79609 Build 76492: arc lint + arc unit
Event Timeline
| usr.sbin/sysrc/sysrc | ||
|---|---|---|
| 907–931 | Three problems here:
| |
| usr.sbin/sysrc/sysrc | ||
|---|---|---|
| 907–931 | Excellent catches! Working on it now. | |
Comment Actions
kfv is right, case globs are always greedy; switch the case statement
to using a non-greedy substitution to get at the value in the pattern
and then matching against mode: instead of mode:*=.
Fix typo s/$name/$NAME/ (which fooled a cursory glance and ATF even
because $name is left defined by an earlier validation loop). (kfv)
Add support for -q, -n, -eq, and -nq (kfv)