~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_tempfile.c

  • Committer: Monty Taylor
  • Date: 2008-10-10 23:04:21 UTC
  • mto: (509.1.1 codestyle)
  • mto: This revision was merged to the branch mainline in revision 511.
  • Revision ID: monty@inaugust.com-20081010230421-zohe1eppxievpw8d
RemovedĀ O_NOFOLLOW

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
  {
65
65
    strmake(to,res,FN_REFLEN-1);
66
66
    (*free)(res);
67
 
    file=my_create(to, 0, mode | O_EXCL | O_NOFOLLOW, MyFlags);
 
67
    file=my_create(to, 0, mode | O_EXCL, MyFlags);
68
68
  }
69
69
#elif defined(HAVE_MKSTEMP)
70
70
  {
121
121
      strmake(to,res,FN_REFLEN-1);
122
122
      (*free)(res);
123
123
      file=my_create(to,0,
124
 
                     (int) (O_RDWR | O_TRUNC | O_EXCL | O_NOFOLLOW),
 
124
                     (int) (O_RDWR | O_TRUNC | O_EXCL),
125
125
                     MYF(MY_WME));
126
126
 
127
127
    }