Skip to content

Commit

Permalink
bug: fix crashes for kernel patch versions > 255 (#575)
Browse files Browse the repository at this point in the history
Solved by updating procfs to 0.10.1. Thanks to hasali19 for finding and looking into this!
  • Loading branch information
ClementTsang authored Sep 12, 2021
1 parent d6c69ea commit aabbc4f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Changes

- [#557](https://github.com/ClementTsang/bottom/pull/557): Add '/s' to network usage legend.
- [#557](https://github.com/ClementTsang/bottom/pull/557): Add '/s' to network usage legend to better indicate that it's a per-second change.

## Bug Fixes

- [#575](https://github.com/ClementTsang/bottom/pull/575): Updates the procfs library to not crash on kernel version >255.

## Internal Changes

- [#551](https://github.com/ClementTsang/bottom/pull/551): Disable AUR package generation in release pipeline since it's now in community.
- [#570](https://github.com/ClementTsang/bottom/pull/570): Make battery features optional in compilation.

## [0.6.3] - 2021-07-18

Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ libc = "0.2.86"

[target.'cfg(target_os = "linux")'.dependencies]
heim = { version = "0.1.0-rc.1", features = ["cpu", "disk", "net", "sensors"] }
procfs = "0.9.1"
procfs = "0.10.1"
smol = "1.2.5"

[target.'cfg(target_os = "macos")'.dependencies]
Expand Down

0 comments on commit aabbc4f

Please sign in to comment.