Print this page
make: unifdef SUN5_0 (defined)
@@ -162,13 +162,11 @@
catgets(catd, 1, 156, "Current working directory %s\n"),
get_current_path());
}
(void) fflush(stderr);
if (fatal_in_progress) {
-#if defined(SUN5_0) || defined(HP_UX) || defined(linux)
exit_status = 1;
-#endif
exit(1);
}
fatal_in_progress = true;
#ifdef TEAMWARE_MAKE_CMN
/* Let all parallel children finish */
@@ -198,13 +196,11 @@
#if defined (TEAMWARE_MAKE_CMN) && defined (MAXJOBS_ADJUST_RFE4694000)
job_adjust_fini();
#endif
-#if defined(SUN5_0) || defined(HP_UX) || defined(linux)
exit_status = 1;
-#endif
exit(1);
}
/*
* warning(format, args...)
@@ -288,15 +284,11 @@
{
char pwd[(MAXPATHLEN * MB_LEN_MAX)];
static char *current_path;
if (current_path == NULL) {
-#if defined(SUN5_0) || defined(HP_UX) || defined(linux)
getcwd(pwd, sizeof(pwd));
-#else
- (void) getwd(pwd);
-#endif
if (pwd[0] == (int) nul_char) {
pwd[0] = (int) slash_char;
pwd[1] = (int) nul_char;
#ifdef DISTRIBUTED
current_path = strdup(pwd);
@@ -732,19 +724,15 @@
/* Set the value of $(SHELL) */
#ifdef HP_UX
MBSTOWCS(wcs_buffer, NOCATGETS("/bin/posix/sh"));
#else
- #if defined(SUN5_0)
if (posix) {
MBSTOWCS(wcs_buffer, NOCATGETS("/usr/xpg4/bin/sh"));
} else {
MBSTOWCS(wcs_buffer, NOCATGETS("/bin/sh"));
}
- #else /* ^SUN5_0 */
- MBSTOWCS(wcs_buffer, NOCATGETS("/bin/sh"));
- #endif /* ^SUN5_0 */
#endif
(void) SETVAR(shell_name, GETNAME(wcs_buffer, FIND_LENGTH), false);
/*
* Use " FORCE" to simulate a FRC dependency for :: type