[LyX/2.1.x] Do not corrupt documents without newline at EOF

2014-05-29 Thread Richard Heck
commit 76417c7326a9ad6822e0351f565000ecc950d636 Author: Georg Baum b...@lyx.org Date: Thu May 29 13:15:07 2014 +0200 Do not corrupt documents without newline at EOF trim_eol() assumes that a line always ends either with \n, \r, or \r\n. This assumption is always valid except

[LyX/2.1.x] Do not corrupt documents without newline at EOF

2014-05-29 Thread Richard Heck
commit 76417c7326a9ad6822e0351f565000ecc950d636 Author: Georg Baum Date: Thu May 29 13:15:07 2014 +0200 Do not corrupt documents without newline at EOF trim_eol() assumes that a line always ends either with \n, \r, or \r\n. This assumption is always valid except