unix.linux.proc: Pad tail with f for cpu-info. Fixes #877.
parent
9e14cee4cf
commit
65a7175cb6
basis/unix/linux/proc
|
@ -44,8 +44,10 @@ TUPLE: processor-info
|
|||
{ address-sizes array }
|
||||
{ power-management string } ;
|
||||
|
||||
! Linux 2.6 has fewer values than new kernels
|
||||
: lines>processor-info ( strings -- processor-info )
|
||||
[ ":" split second [ CHAR: \s = ] trim ] map
|
||||
25 f pad-tail
|
||||
[
|
||||
{
|
||||
[ string>number ]
|
||||
|
|
Loading…
Reference in New Issue