~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Lee Bieber
  • Date: 2011-01-27 18:27:40 UTC
  • mfrom: (2121.1.2 build)
  • Revision ID: kalebral@gmail.com-20110127182740-50sbxxviiux94zdv
Merge Andrew - 680715: A better /var/drizzle missing error message
Merge Lee - 702286: libz valgrind warnings should be suppressed

Show diffs side-by-side

added added

removed removed

Lines of Context:
2328
2328
    {
2329
2329
      if (errno != EEXIST)
2330
2330
      {
2331
 
        perror(drizzle_tmpdir.c_str());
 
2331
        errmsg_printf(ERRMSG_LVL_ERROR, _("There was an error creating the '%s' part of the path '%s'.  Please check the path exists and is writable.\n"), fs::path(drizzle_tmpdir).leaf().c_str(), drizzle_tmpdir.c_str());
2332
2332
        exit(1);
2333
2333
      }
2334
2334
    }
2335
2335
 
2336
2336
    if (stat(drizzle_tmpdir.c_str(), &buf) || (S_ISDIR(buf.st_mode) == false))
2337
2337
    {
2338
 
      perror(drizzle_tmpdir.c_str());
 
2338
      errmsg_printf(ERRMSG_LVL_ERROR, _("There was an error opening the path '%s', please check the path exists and is writable.\n"), drizzle_tmpdir.c_str());
2339
2339
      exit(1);
2340
2340
    }
2341
2341
  }