~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-23 14:03:48 UTC
  • mto: This revision was merged to the branch mainline in revision 2349.
  • Revision ID: olafvdspek@gmail.com-20110623140348-rnees8v44f213rvv
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
2203
2203
      }
2204
2204
    }
2205
2205
 
2206
 
    if (stat(drizzle_tmpdir.c_str(), &buf) || (S_ISDIR(buf.st_mode) == false))
 
2206
    if (stat(drizzle_tmpdir.c_str(), &buf) || not S_ISDIR(buf.st_mode))
2207
2207
    {
2208
2208
      errmsg_printf(error::ERROR, _("There was an error opening the path '%s', please check the path exists and is writable.\n"), drizzle_tmpdir.c_str());
2209
2209
      exit(1);