]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
charset.c (_cpp_convert_input): Check '\r' before inserting '\n' at the end.
authorDevang Patel <dpatel@apple.com>
Sat, 19 Feb 2005 19:48:02 +0000 (11:48 -0800)
committerDevang Patel <dpatel@gcc.gnu.org>
Sat, 19 Feb 2005 19:48:02 +0000 (11:48 -0800)
commit04c90eea0779dd173baa01b96aed683fec326207
tree374c60752b401e773bee9a1c4325104556d62c52
parent332e7efe7fa434a998aa5634dca6d4f93810f65f
charset.c (_cpp_convert_input): Check '\r' before inserting '\n' at the end.

      * charset.c (_cpp_convert_input): Check '\r' before inserting
      '\n' at the end.
      * gcc.dg/cpp/mac-eol-at-eof.c: New test.

From-SVN: r95289
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/mac-eol-at-eof.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/charset.c