   
 ***************
 *** 2782,2787 ****
---- 2794,2805 ----
+--- 2797,2808 ----
   
     /* Use entire sentences to give the translators a fighting chance.  */
   
 +   if (entering)
 +     {
 +       printf("\e[p");
-+       logNesting++;
++       logNestingStdout++;
 +     }
 +   
     if (makelevel == 0)

+   if (!entering)
+     {
+       printf("\e[q");
+       logNesting--;
+     }
  }
Only in make-3.80: main.c~
diff -rc make-3.80-orig/make.h make-3.80/make.h
*** make-3.80-orig/make.h	2002-09-11 18:55:44.000000000 +0200
--- make-3.80/make.h	2004-03-18 22:22:00.000000000 +0100
***************
*** 559,562 ****
--- 559,566 ----
  extern int atomic_stat PARAMS ((const char *file, struct stat *buf));
  extern struct dirent *atomic_readdir PARAMS ((DIR *dir));
  

        if (entering)
***************
*** 2810,2813 ****
--- 2831,2840 ----
        else
          printf (_("%s[%u]: Leaving directory `%s'\n"),
                  program, makelevel, starting_directory);
