Print this page
make: unifdef for REDIRECT_ERR (defined)
@@ -290,20 +290,18 @@
char um_buf[MAXPATHLEN];
Name dmake_name;
Name dmake_value;
Property prop;
-#ifdef REDIRECT_ERR
/* Set __DMAKE_REDIRECT_STDERR */
length = 2 + strlen(NOCATGETS("__DMAKE_REDIRECT_STDERR")) + 1;
env = getmem(length);
(void) sprintf(env,
"%s=%s",
NOCATGETS("__DMAKE_REDIRECT_STDERR"),
out_err_same ? NOCATGETS("0") : NOCATGETS("1"));
(void) putenv(env);
-#endif
/* Set DMAKE_PWD to the current working directory */
current_path = get_current_path();
length = 2 + strlen(NOCATGETS("DMAKE_PWD")) + strlen(current_path);
env = getmem(length);