diff -Naur make-3.81,orig/job.c make-3.81/job.c --- make-3.81,orig/job.c 2006-03-19 19:03:04.000000000 -0800 +++ make-3.81/job.c 2008-09-27 19:29:03.283931000 -0700 @@ -2733,7 +2733,7 @@ if (PRESERVE_BSNL) { *(ap++) = '\\'; - *(ap++) = '\\'; + if (!batch_mode_shell) *(ap++) = '\\'; *(ap++) = '\n'; } @@ -2799,6 +2799,9 @@ fputc ('\n', batch); fclose (batch); + DB (DB_JOBS, (_("Batch file contents:%s\n\t%s\n"), + !unixy_shell ? "\n\t@echo off" : "", command_ptr)); + /* create argv */ new_argv = (char **) xmalloc(3 * sizeof (char *)); if (unixy_shell) {