getNumCapabilities uses n_capabilities instead of enabled_capabilities
setNumCapabilities newer removes capabilities, it just disables them when new value is less the the current one. In that case getNumCapabilities returns wrong result.
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | shumovichy@gmail.com |
Operating system | |
Architecture |