mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04: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)
|
* Review the testing checklist (doc/testing-checklist.md)
|
||||||
* clang-tidy check with something like:
|
* 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
|
or
|
||||||
* `scan-build cmake .. && scan-build make`
|
* `scan-build cmake .. && scan-build make`
|
||||||
* Verify that rust + python compile
|
* Verify that rust + python compile
|
||||||
|
@ -209,6 +209,7 @@ fetch_cpu_info(fetched_info* fi){
|
|||||||
#undef TAG
|
#undef TAG
|
||||||
#undef CORE
|
#undef CORE
|
||||||
}
|
}
|
||||||
|
fclose(cpuinfo);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user