Print this page
make: unifdef SUN5_0 (defined)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/read2.cc
          +++ new/usr/src/cmd/make/bin/read2.cc
↓ open down ↓ 1164 lines elided ↑ open up ↑
1165 1165                    break;
1166 1166                  if (depes->used != 0) {
1167 1167                          fatal_reader(catgets(catd, 1, 99, "Illegal dependencies for target `%s'"),
1168 1168                                       target->string_mb);
1169 1169                  }
1170 1170                  posix  = true;
1171 1171                          /* with posix on, use the posix get rule */
1172 1172                  sccs_get_rule = sccs_get_posix_rule;
1173 1173                          /* turn keep state off being SunPro make specific */
1174 1174                  keep_state = false;
1175      -                #if defined(SUN5_0)
1176 1175                  /* Use /usr/xpg4/bin/sh on Solaris */
1177 1176                  MBSTOWCS(wcs_buffer, NOCATGETS("/usr/xpg4/bin/sh"));
1178 1177                  (void) SETVAR(shell_name, GETNAME(wcs_buffer, FIND_LENGTH), false);
1179      -                #endif
1180 1178                  if (trace_reader) {
1181 1179                          (void) printf("%s:\n", posix_name->string_mb);
1182 1180                  }
1183 1181                  break;
1184 1182  
1185 1183          case built_last_make_run_special:
1186 1184                  built_last_make_run_seen = true;
1187 1185                  break;
1188 1186  
1189 1187          case default_special:
↓ open down ↓ 728 lines elided ↑ open up ↑
1918 1916                                 temp_file_name->string_mb);
1919 1917                  temp_file_name = NULL;
1920 1918          }
1921 1919  
1922 1920          if (report_pwd) {
1923 1921                  (void) fprintf(stderr,
1924 1922                                 catgets(catd, 1, 115, "Current working directory %s\n"),
1925 1923                                 get_current_path());
1926 1924          }
1927 1925          (void) fflush(stderr);
1928      -#if defined(SUN5_0) || defined(HP_UX)
1929 1926          exit_status = 1;
1930      -#endif
1931 1927          exit(1);
1932 1928  }
1933 1929  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX