diff options
author | msvensson@neptunus.(none) <> | 2006-12-04 19:28:38 +0100 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-12-04 19:28:38 +0100 |
commit | 128b73fc36c858e457bf29ed44cb08f16677a9b5 (patch) | |
tree | 4709d201720e18f147c369d52ae2cde47bec6b24 /extra | |
parent | 544d0c909bd634c73e04cb018617c8cc9099147c (diff) | |
parent | d253588c699ef2e589fb2d38aff7f78c8e25063c (diff) | |
download | mariadb-git-128b73fc36c858e457bf29ed44cb08f16677a9b5.tar.gz |
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
Diffstat (limited to 'extra')
-rw-r--r-- | extra/replace.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/replace.c b/extra/replace.c index 9acf1620d49..cad3589819b 100644 --- a/extra/replace.c +++ b/extra/replace.c @@ -1052,8 +1052,10 @@ static int convert_file(REPLACE *rep, my_string name) { int error; FILE *in,*out; - char dir_buff[FN_REFLEN], tempname[FN_REFLEN]; - char link_name[FN_REFLEN], *org_name = name; + char dir_buff[FN_REFLEN], tempname[FN_REFLEN], *org_name = name; +#ifdef HAVE_READLINK + char link_name[FN_REFLEN]; +#endif File temp_file; DBUG_ENTER("convert_file"); |