Revert "Change getline to not count the null terminator"

This reverts commit edb0013923263b9bc2550e5cf02cf1494ba7660c.

Change-Id: Ie66d0fac382a97a51912cd51f369842101881e44
2 files changed