On 12:19:19 pm 2005-07-07 [EMAIL PROTECTED] wrote: > Please see this bug and my followup comment: > > https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=1366 > 5 > > As you may have noticed in the NEWS file for the beta3 release I > referred to this situation, and I'm especially concerned about > DOS/Windows/OS2 versions of GNU make due to the complexity surrounding > their shell commands. > > Has anyone on the list looked into this change and verified whether > some kind of special case needs to be made for those platforms, > perhaps when make detects we're not using a UNIX-y shell or something? >
The issue is the \r\n line endings so the \ is escaping the \r and not the \n. Open the Makefile file in binary mode or use the _setmode function on the already opened file then when reading a line remove (set to null) the trailing \r if it exists before processing the line. Rereading the problem, I'm have second thoughts about the above. Is the issue sed, or the double \\, or make? If make then the above should take care of the issue. Earnie _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
