SystemInformation: Tolerate empty /proc/cpuinfo
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
A GitLab update will be applied on May 9th, between 8am and 10am, EDT (UTC-04:00). This site may have intermittent delays during that time.
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