1/3

tools/mm: keep the last record of a dump

read_block() 在记录后直接遇到 EOF(无空行)时返回 -1,main 误当无记录而丢弃最后一条;改为 EOF 落在记录中时返回已累积记录,保留末尾记录。