fixed new bug in fn_format()

parent ef11c103
......@@ -99,7 +99,7 @@ my_string fn_format(my_string to, const char *name, const char *dsk,
if (flag & 16)
{
strmov(buff,to);
my_symlink(to, buff, MYF(flag & 32 ? 0 : MY_RESOLVE_LINK));
my_readlink(to, buff, MYF(flag & 32 ? 0 : MY_RESOLVE_LINK));
}
else if (flag & 32)
my_realpath(to, to, MYF(flag & 32 ? 0 : MY_RESOLVE_LINK));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment