Print this page
make: translate using gettext, rather than the unmaintainable catgets

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/bin/globals.cc
          +++ new/usr/src/cmd/make/bin/globals.cc
↓ open down ↓ 151 lines elided ↑ open up ↑
 152  152          Boolean         report_cwd;                     /* `-w' */
 153  153          Boolean         silent;                         /* `-s' */
 154  154          Name            silent_name;
 155  155          char            *stderr_file = NULL;
 156  156          char            *stdout_file = NULL;
 157  157          Boolean         stdout_stderr_same;
 158  158          Dependency      suffixes;
 159  159          Name            suffixes_name;
 160  160          Name            sunpro_dependencies;
 161  161          Boolean         target_variants;
 162      -        const char      *tmpdir = NOCATGETS("/tmp");
 163      -        const char      *temp_file_directory = NOCATGETS(".");
      162 +        const char      *tmpdir = "/tmp";
      163 +        const char      *temp_file_directory = ".";
 164  164          Name            temp_file_name;
 165  165          short           temp_file_number;
 166  166          time_t          timing_start;
 167  167          wchar_t         *top_level_target;
 168  168          Boolean         touch;                          /* `-t' */
 169  169          Boolean         trace_reader;                   /* `-D' */
 170  170          Boolean         build_unconditional;            /* `-u' */
 171  171          pathpt          vroot_path = VROOT_DEFAULT;
 172  172          Name            wait_name;
 173  173          wchar_t         wcs_buffer2[MAXPATHLEN];
 174  174          wchar_t         *wcs_ptr;
 175  175          wchar_t         *wcs_ptr2;
 176      -        nl_catd         catd;
 177  176          long int        hostid;
 178  177  
 179  178  /*
 180  179   * File table of contents
 181  180   */
 182  181  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX