~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_tempfile.cc

  • Committer: Monty Taylor
  • Date: 2008-12-01 17:53:42 UTC
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: monty@bitters-20081201175342-hcvfaecqmljhv86g
Fixed Sun Studio warnings in mysys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
*/
54
54
 
55
55
File create_temp_file(char *to, const char *dir, const char *prefix,
56
 
                      int mode __attribute__((unused)),
57
 
                      myf MyFlags __attribute__((unused)))
 
56
                      int,
 
57
                      myf MyFlags)
58
58
{
59
59
  File file= -1;
60
60
 
104
104
  }
105
105
#elif defined(HAVE_TEMPNAM)
106
106
  {
 
107
    (void)MyFlags;
107
108
    char *res,**old_env,*temp_env[1];
108
109
    if (dir && !dir[0])
109
110
    {                           /* Change empty string to current dir */