~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_tempdir.c

Merged in Jay's tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    length= cleanup_dirname(buff, buff);
44
44
    if (!(copy= my_strndup(buff, length, MYF(MY_WME))) ||
45
45
        insert_dynamic(&tmpdir->full_list, (uchar*) &copy))
46
 
      DBUG_RETURN(TRUE);
 
46
      DBUG_RETURN(true);
47
47
    pathlist=end+1;
48
48
  }
49
49
  while (*end);
51
51
  tmpdir->list=(char **)tmpdir->full_list.buffer;
52
52
  tmpdir->max=tmpdir->full_list.elements-1;
53
53
  tmpdir->cur=0;
54
 
  DBUG_RETURN(FALSE);
 
54
  DBUG_RETURN(false);
55
55
 
56
56
err:
57
57
  delete_dynamic(&tmpdir->full_list);           /* Safe to free */
58
58
  pthread_mutex_destroy(&tmpdir->mutex);
59
 
  DBUG_RETURN(TRUE);
 
59
  DBUG_RETURN(true);
60
60
}
61
61
 
62
62