From: Manu <ma...@wa...> - 2002-11-11 19:48:04
|
Greg Chicares wrote: > Manu wrote: > > > > I experimentally built a special diff.exe which > > can handle a CRLF environment variable at run time. > > Is 'diff' just an example you picked as a simple > demonstration, e.g. Yes, that's correct. I have patch/diff builds for line ending experiments. > because it's a small utility > and easy to compile? I agree. OTOH, small utilities can have specific bugs under Win32, eg grep and the directory access bug. eg make 3.79.1 and the "back to the future" bug. eg problems reported here by Prof Abimbola Olowofoyeku with patch 2.5.4: --- From: Prof Abimbola Olowofoyeku Patch 2002-03-07 15:44 Hi The native versions of 'patch' cannot handle diff files that are in 'unix' file format (you get errors like "Assertion failed: hunk, file patch.c, line 334"). Is it possible to have an MSYS version that can handle both the 'unix' and 'dos' file formats? PS: also, patching fails when trying to create the output file (tries unsuccessfully to rename a temp file to an existing file name). This probably requires either copying instead of renaming, or deleting and then renaming. Thanks. --- I used the diff file he published to build patch. (Thanks BTW) Well, to conclude, small utilities or not, 1 person building a package and publishing his work for 100 persons should be better than 100 persons building individually 1 package without anything published :) In the same way, Jose Fonseca published all his diff files: http://mefriss1.swan.ac.uk/~jfonseca/gnu-win32/software/ported/patches/ Greg, if you have interesting patches, don't hesitate to publish these, then you might see your work committed there: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mingw/ports/ Manu. |