Print this page
make: ship the Joyent patch to enable parallel make (originally from rm)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/lib/mksdmsi18n/libmksdmsi18n_init.cc
          +++ new/usr/src/cmd/make/lib/mksdmsi18n/libmksdmsi18n_init.cc
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  /*
  33   33   * Open the catalog file for libmksdmsi18n.  Users of this library must set
  34   34   * NSLPATH first.  See avo_18n_init().
  35   35   */
  36   36  int
  37   37  libmksdmsi18n_init()
  38   38  {
  39   39          char            name[20];
  40   40  
  41   41          if (getenv(NOCATGETS("NLSPATH")) == NULL) {
  42      -                fprintf(stderr, NOCATGETS("Internal error: Set NLSPATH before opening catalogue file\n"));
  43   42                  return 1;
  44   43          }
  45   44          sprintf(name, NOCATGETS("libmksdmsi18n_%d"), I18N_VERSION);
  46   45          libmksdmsi18n_catd = catopen(name, NL_CAT_LOCALE);
  47   46          return 0;
  48   47  }
  49   48   
  50   49  /*
  51   50   * Close the catalog file for libmksdmsi18n
  52   51   */
  53   52  void
  54   53  libmksdmsi18n_fini()
  55   54  {
  56   55          catclose(libmksdmsi18n_catd);
  57   56  }
  58   57  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX