eminence / procfs

Rust library for reading the Linux procfs filesystem
Other
367 stars 106 forks source link

fix: 32bit signed int #153

Closed tatref closed 2 years ago

tatref commented 3 years ago

Previous code had some issues...

called `Result::unwrap()` on an `Err` value: Other("Value in `Key: Value` pair was not actually a number")

Hex values should be interpreted as a 32bits two's complement signed int

eminence commented 2 years ago

I just published v0.11.1 that contains only this fix. I'll also be publishing v0.12.0 fairly soon (which will also contain this fix)