Print this page
11235 make -C fails under GCC7

@@ -2543,10 +2543,12 @@
                                 }
                                 if (chdir(argv[i + 1]) != 0) {
                                         fatal(gettext("failed to change to directory %s: %s"),
                                             argv[i + 1], strerror(errno));
                                 }
+                                MBSTOWCS(wcs_buffer, "DMAKE_CDIR");
+                                name = GETNAME(wcs_buffer, FIND_LENGTH);
                                 path_reset = true;
                                 rebuild_arg0 = true;
                                 (void) get_current_path();
                                 break;
                         default: /* Shouldn't reach here */