~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_loadpath.cc

  • Committer: Brian Aker
  • Date: 2008-11-13 02:56:15 UTC
  • mfrom: (575.4.10 devel)
  • Revision ID: brian@tangent.org-20081113025615-snhsi52yb2ivmx6f
Merging Monty's code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
  {
39
39
    if (is_cur)
40
40
      is_cur=2;                                 /* Remove current dir */
41
 
    if (! my_getwd(buff,(uint) (FN_REFLEN-strlen(path)+is_cur),MYF(0)))
 
41
    if (! getcwd(buff,(uint) (FN_REFLEN-strlen(path)+is_cur)))
42
42
      strcat(buff,path+is_cur);
43
43
    else
44
44
      my_stpcpy(buff,path);                     /* Return org file name */