~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_tempdir.cc

  • Committer: Monty Taylor
  • Date: 2008-12-07 23:42:51 UTC
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: monty@inaugust.com-20081207234251-yxtbg06jpylwej29
Finally removed all of the my_malloc stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
      end= pathlist+strlen(pathlist);
43
43
    strncpy(buff, pathlist, FN_REFLEN-1);
44
44
    length= cleanup_dirname(buff, buff);
45
 
    if (!(copy= my_strndup(buff, length, MYF(MY_WME))) ||
 
45
    if (!(copy= strndup(buff, length)) ||
46
46
        insert_dynamic(&tmpdir->full_list, (unsigned char*) &copy))
47
47
      return(true);
48
48
    pathlist=end+1;