For the files with mixed line endings, I understand why it would get confused. I am not sure why CRLF files (and why just some of them) do not get converted. I will be doing some Linux/Mac work this week and look at this.

On Wed, Nov 7, 2012 at 7:07 AM, Rangel Reale <rangelreale@gmail.com> wrote:
I'm still having problems forking Poco and making changes in some files. Looks like there is some inconsistency of line endings in the repository, I cloned in Linux and ran a "file" command to detect line endings on source files, multiple files appeared as CRLF. By the .gitattributes file, all source files should have been converted to LF, for the current architecture.

I'm having problems speficifally in one file on this list, "Data/SQLite/src/SQLiteStatementImpl.cpp". so it should be the problem.

Is it possible to fix this in the repository?

I ran "dos2unix" on all these files, and made a patch, but am not sure if it will really fix the problem. Can I attach it here?

$ git clone https://github.com/pocoproject/poco.git poco-new
$ cd poco-new
$ find . -name "*.cpp" -exec file {} \; | grep CRLF
./Data/MySQL/src/Connector.cpp: ASCII C++ program text, with CRLF line terminators
./Data/ODBC/src/Utility.cpp: ASCII C++ program text, with CRLF, LF line terminators
./Data/SQLite/src/Connector.cpp: ASCII C++ program text, with CRLF line terminators
./Data/SQLite/src/Extractor.cpp: ASCII C++ program text, with CRLF line terminators
./Data/SQLite/src/SQLiteStatementImpl.cpp: ASCII C++ program text, with CRLF line terminators
./Data/SQLite/testsuite/src/WinCEDriver.cpp: ASCII C++ program text, with CRLF line terminators
./Data/testsuite/src/WinCEDriver.cpp: ASCII C++ program text, with CRLF line terminators
./Foundation/src/FIFOBufferStream.cpp: ASCII C++ program text, with CRLF line terminators
./Foundation/testsuite/src/DigestStreamTest.cpp: ASCII C++ program text, with CRLF, LF line terminators
./Foundation/testsuite/src/FIFOBufferStreamTest.cpp: ASCII C++ program text, with CRLF line terminators
./Foundation/testsuite/src/VarTest.cpp: ASCII C++ program text, with CRLF line terminators
./JSON/samples/Benchmark/src/Benchmark.cpp: ASCII C++ program text, with CRLF line terminators
./JSON/src/Parser.cpp: ASCII C++ program text, with CRLF line terminators
./JSON/testsuite/src/Driver.cpp: ASCII C++ program text, with CRLF line terminators
./JSON/testsuite/src/JSONTest.cpp: ASCII C++ program text, with CRLF line terminators
./JSON/testsuite/src/JSONTestSuite.cpp: ASCII C++ program text, with CRLF line terminators
./JSON/testsuite/src/WinCEDriver.cpp: ASCII C++ program text, with CRLF line terminators
./JSON/testsuite/src/WinDriver.cpp: ASCII C++ program text, with CRLF line terminators
./Net/samples/SMTPLogger/src/SMTPLogger.cpp: ASCII C++ program text, with CRLF line terminators
./Util/samples/Units/src/Units.cpp: ASCII C++ program text, with CRLF line terminators
./Util/src/JSONConfiguration.cpp: ASCII C++ program text, with CRLF, LF line terminators
./Util/testsuite/src/JSONConfigurationTest.cpp: ASCII C++ program text, with CRLF line terminators
$ find . -name "*.h" -exec file {} \; | grep CRLF
./Data/MySQL/include/Poco/Data/MySQL/Connector.h: ASCII C++ program text, with CRLF line terminators
./Data/MySQL/testsuite/src/SQLExecutor.h: ASCII C++ program text, with CRLF line terminators
./Foundation/include/Poco/DirectoryWatcher.h: ASCII C++ program text, with CRLF line terminators
./Foundation/include/Poco/Dynamic/Pair.h: ASCII C++ program text, with CRLF, LF line terminators
./Foundation/include/Poco/FIFOBufferStream.h: ASCII C++ program text, with CRLF line terminators
./Foundation/include/Poco/NumericString.h: ASCII C++ program text, with CRLF line terminators
./Foundation/include/Poco/StringTokenizer.h: ASCII C++ program text, with CRLF line terminators
./Foundation/include/Poco/UTFString.h: ASCII C++ program text, with CRLF line terminators
./Foundation/testsuite/src/FIFOBufferStreamTest.h: ASCII C++ program text, with CRLF line terminators
./JSON/testsuite/src/JSONTest.h: ASCII C++ program text, with CRLF line terminators
./JSON/testsuite/src/JSONTestSuite.h: ASCII C++ program text, with CRLF line terminators
./Util/include/Poco/Util/JSONConfiguration.h: ASCII C++ program text, with CRLF, LF line terminators


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
poco-develop mailing list
poco-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/poco-develop