Hi!
On Jul 23, Alexey Botchkov wrote:
> Sergei,
>
> i'd agree with the suggestions about mi_open_datafile and
> MY_RESOLVE_LINK option, will recommit soon.
>
>>> +#if defined(HAVE_REALPATH) && !defined(HAVE_purify) &&
>>> !defined(HAVE_BROKEN_REALPATH)
>>
>> why this #ifdef ?
> It existed in the old code i copied into this function, so i didn't
> invent it. Technically i think it disables the 'realpath' call if the
> 'realpath' doesn't exists in the OS or is broken.
Yes, I know that the ifdef existed in my_realpath().
I asked - why you have copied it to is_symlink() ?
lstat() isn't necessarily broken if HAVE_BROKEN_REALPATH, nor, I think,
it has any problems with purify.
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Engineer/Server Architect
/_/ /_/\_, /___/\___\_\___/ Sun Microsystems GmbH, HRB München 161028
<___/ Sonnenallee 1, 85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Häring