Skip to content

SystemInformation: Tolerate empty /proc/cpuinfo

Brad King requested to merge brad.king/kwsys:SystemInformation-cpuinfo into master

Guard against underflow when truncating trailing whitespace from /proc/cpuinfo.

Ported to KWSys from cmake/cmake!8503 (closed).

Issue: cmake/cmake#24937 (closed)
Author: @roehling

Merge request reports