changeset 23 | d4d56f5e7c55 |
parent 8 | 6547bf8ca13a |
--- a/searchengine/util/cpixtools/src/cpixfstools.cpp Mon Sep 20 12:35:47 2010 +0530 +++ b/searchengine/util/cpixtools/src/cpixfstools.cpp Tue Oct 05 13:15:12 2010 +0530 @@ -413,6 +413,12 @@ while (!feof(file)) { int c = fgetc(file); + if (c == '\r') { + c = fgetc(file); + if (c != '\n'){ + buf<<'\r'; + } + } if (c == EOF || c == '\n') { break; }