Dne 12. 9. 2013 17:34 "Fabien COELHO" <coe...@cri.ensmp.fr> napsal(a): > > >> * patched with minor warning > > >> some minor issue: >> >> patch warning >> >> make[1]: Leaving directory `/home/pavel/src/postgresql/config' >> [pavel@localhost postgresql]$ patch -p1 < pgbench-measurements-v2.patch >> (Stripping trailing CRs from patch; use --binary to disable.) >> patching file contrib/pgbench/pgbench.c >> (Stripping trailing CRs from patch; use --binary to disable.) >> patching file doc/src/sgml/pgbench.sgml > > > I cannot reproduce these warnings: > > postgresql> git branch test > postgresql> git checkout test > Switched to branch 'test' > postgresql> patch -p1 < ../pgbench-measurements-v2.patch > patching file contrib/pgbench/pgbench.c > patching file doc/src/sgml/pgbench.sgml >
it can depends on o.s. I did tests on Fedora 14. and for patching without warning I had to use dos2unix tool. > Some details: > > postgresql> patch --version > patch 2.6.1 [...] > postgresql> sha1sum ../pgbench-measurements-v2.patch > f095557ceae1409d2339f9d29d332cefa96e2153 [...] > > -- > Fabien.