make m_getfld2() aware of CRLF lineendings