mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-06 22:59:02 -05:00
[ncneofetch] close /proc/cpuinfo once done with it
This commit is contained in:
parent
8c02c30d6a
commit
c1833eded7
@ -4,7 +4,7 @@
|
||||
|
||||
* Review the testing checklist (doc/testing-checklist.md)
|
||||
* clang-tidy check with something like:
|
||||
* `cmake "-DCMAKE_CXX_CLANG_TIDY=/usr/bin/clang-tidy-15\;-checks=-*,clang-analyzer-*,modernize-*,performance-*" ..`
|
||||
* `cmake "-DCMAKE_CXX_CLANG_TIDY=/usr/bin/clang-tidy\;-checks=-*,clang-analyzer-*,modernize-*,performance-*" ..`
|
||||
or
|
||||
* `scan-build cmake .. && scan-build make`
|
||||
* Verify that rust + python compile
|
||||
|
@ -209,6 +209,7 @@ fetch_cpu_info(fetched_info* fi){
|
||||
#undef TAG
|
||||
#undef CORE
|
||||
}
|
||||
fclose(cpuinfo);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user