~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_same.c

Removed dead variable, sorted authors file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
/* Kopierar biblioteksstrukturen och extensionen fr}n ett filnamn */
17
17
 
18
18
#include "mysys_priv.h"
19
 
#include <mystrings/m_string.h>
 
19
#include <m_string.h>
20
20
 
21
21
        /*
22
22
          Copy directory and/or extension between filenames.
30
30
  char dev[FN_REFLEN];
31
31
  const char *ext;
32
32
  size_t dev_length;
 
33
  DBUG_ENTER("fn_same");
 
34
  DBUG_PRINT("enter",("to: %s  name: %s  flag: %d",to,name,flag));
33
35
 
34
36
  if ((ext=strrchr(name+dirname_part(dev, name, &dev_length),FN_EXTCHAR)) == 0)
35
37
    ext="";
36
38
 
37
 
  return(fn_format(to,to,dev,ext,flag));
 
39
  DBUG_RETURN(fn_format(to,to,dev,ext,flag));
38
40
} /* fn_same */