OSDN Git Service

* charset.c (_cpp_convert_input): Check '\r' before inserting
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Feb 2005 19:48:02 +0000 (19:48 +0000)
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Feb 2005 19:48:02 +0000 (19:48 +0000)
commitf86986bc4138190a73652471c3e7af5d2a62a0d3
tree374c60752b401e773bee9a1c4325104556d62c52
parent25bd9e4227796ca0c4d3ccd7bbfbd471f1b12075
  * charset.c (_cpp_convert_input): Check '\r' before inserting
      '\n' at the end.
      * gcc.dg/cpp/mac-eol-at-eof.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95289 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/mac-eol-at-eof.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/charset.c