~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-66

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Continuous Integration
  • Date: 2012-08-24 07:39:04 UTC
  • mfrom: (2580.4.1 drizzle-bug-978007)
  • Revision ID: ci@drizzle.org-20120824073904-8a6meqbe0tmij1m3
modified:
  drizzled/drizzled.cc
pending merge tips: (use -v to see all merge revisions)
  Tobias Frost 2012-08-19 Adding patch used in Debian for support on FreeBSD.

Show diffs side-by-side

added added

removed removed

Lines of Context:
410
410
/**
411
411
  Create file to store pid number.
412
412
*/
 
413
 
 
414
#ifndef O_CLOEXEC
 
415
#define O_CLOEXEC 0
 
416
#define DEFINED_O_CLOEXEC
 
417
#endif
 
418
 
413
419
static void create_pid_file()
414
420
{
415
421
  int file;
434
440
  unireg_abort << "Can't start server, was unable to create PID file: " <<  pid_file.file_string();
435
441
}
436
442
 
 
443
#ifdef DEFINED_O_CLOEXEC
 
444
#undef O_CLOEXEC
 
445
#endif
 
446
 
437
447
/****************************************************************************
438
448
** Code to end drizzled
439
449
****************************************************************************/