~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_fopen.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:
20
20
#include <stdio.h>
21
21
#include <stdlib.h>
22
22
#include <errno.h>
 
23
#include <string.h>
23
24
 
24
25
static void make_ftype(char * to,int flag);
25
26
 
65
66
    }
66
67
    pthread_mutex_lock(&THR_LOCK_open);
67
68
    if ((my_file_info[fileno(fd)].name = (char*)
68
 
         my_strdup(filename,MyFlags)))
 
69
         strdup(filename)))
69
70
    {
70
71
      my_stream_opened++;
71
72
      my_file_total_opened++;