Print this page
make: unifdef for MAKETOOL and DISTRIBUTED (undefined)


1854 
1855         va_start(args, pattern);
1856         if (file_being_read != NULL) {
1857                 WCSTOMBS(mbs_buffer, file_being_read);
1858                 if (line_number != 0) {
1859                         (void) sprintf(message,
1860                                        catgets(catd, 1, 112, "%s, line %d: %s"),
1861                                        mbs_buffer,
1862                                        line_number,
1863                                        pattern);
1864                 } else {
1865                         (void) sprintf(message,
1866                                        "%s: %s",
1867                                        mbs_buffer,
1868                                        pattern);
1869                 }
1870                 pattern = message;
1871         }
1872 
1873         (void) fflush(stdout);
1874 #ifdef DISTRIBUTED
1875         (void) fprintf(stderr, catgets(catd, 1, 113, "dmake: Fatal error in reader: "));
1876 #else
1877         (void) fprintf(stderr, catgets(catd, 1, 238, "make: Fatal error in reader: "));
1878 #endif
1879         (void) vfprintf(stderr, pattern, args);
1880         (void) fprintf(stderr, "\n");
1881         va_end(args);
1882 
1883         if (temp_file_name != NULL) {
1884                 (void) fprintf(stderr,
1885 #ifdef DISTRIBUTED
1886                                catgets(catd, 1, 114, "dmake: Temp-file %s not removed\n"),
1887 #else
1888                                catgets(catd, 1, 239, "make: Temp-file %s not removed\n"),
1889 #endif
1890                                temp_file_name->string_mb);
1891                 temp_file_name = NULL;
1892         }
1893 
1894         if (report_pwd) {
1895                 (void) fprintf(stderr,
1896                                catgets(catd, 1, 115, "Current working directory %s\n"),
1897                                get_current_path());
1898         }
1899         (void) fflush(stderr);
1900         exit_status = 1;
1901         exit(1);
1902 }
1903 


1854 
1855         va_start(args, pattern);
1856         if (file_being_read != NULL) {
1857                 WCSTOMBS(mbs_buffer, file_being_read);
1858                 if (line_number != 0) {
1859                         (void) sprintf(message,
1860                                        catgets(catd, 1, 112, "%s, line %d: %s"),
1861                                        mbs_buffer,
1862                                        line_number,
1863                                        pattern);
1864                 } else {
1865                         (void) sprintf(message,
1866                                        "%s: %s",
1867                                        mbs_buffer,
1868                                        pattern);
1869                 }
1870                 pattern = message;
1871         }
1872 
1873         (void) fflush(stdout);



1874         (void) fprintf(stderr, catgets(catd, 1, 238, "make: Fatal error in reader: "));

1875         (void) vfprintf(stderr, pattern, args);
1876         (void) fprintf(stderr, "\n");
1877         va_end(args);
1878 
1879         if (temp_file_name != NULL) {
1880                 (void) fprintf(stderr,



1881                                catgets(catd, 1, 239, "make: Temp-file %s not removed\n"),

1882                                temp_file_name->string_mb);
1883                 temp_file_name = NULL;
1884         }
1885 
1886         if (report_pwd) {
1887                 (void) fprintf(stderr,
1888                                catgets(catd, 1, 115, "Current working directory %s\n"),
1889                                get_current_path());
1890         }
1891         (void) fflush(stderr);
1892         exit_status = 1;
1893         exit(1);
1894 }
1895