Page MenuHomePhabricator

Fixes issues w/battery and batman living together

Authored by netstar on Jan 29 2017, 3:42 AM.



The problems were that both sysctl implementations defined public accessable fields named bat.

The static definition moves into the file scopes.

The E_FREE calls are fixing a use after free.

Diff Detail

rE core/enlightenment
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
netstar created this revision.Jan 29 2017, 3:42 AM
bu5hm4n edited the summary of this revision. (Show Details)Jan 29 2017, 3:45 AM
bu5hm4n edited edge metadata.

I cannot really test that, but according to netstar thats fixing the battery module on *bsd.

bu5hm4n accepted this revision.Jan 29 2017, 3:47 AM
This revision was automatically updated to reflect the committed changes.