List:Commits« Previous MessageNext Message »
From:Sergei Golubchik Date:July 23 2008 11:32am
Subject:Re: bzr commit into mysql-4.1 branch (holyfoot:2705) Bug#32167
View as plain text  
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
Thread
bzr commit into mysql-4.1 branch (holyfoot:2705) Bug#32167Alexey Botchkov18 Jul
  • Re: bzr commit into mysql-4.1 branch (holyfoot:2705) Bug#32167Sergei Golubchik21 Jul
  • Re: bzr commit into mysql-4.1 branch (holyfoot:2705) Bug#32167Alexey Botchkov23 Jul
    • Re: bzr commit into mysql-4.1 branch (holyfoot:2705) Bug#32167Sergei Golubchik23 Jul
  • Re: bzr commit into mysql-4.1 branch (holyfoot:2705) Bug#32167Alexey Botchkov23 Jul
  • Re: bzr commit into mysql-4.1 branch (holyfoot:2705) Bug#32167Alexey Botchkov24 Jul
    • Re: bzr commit into mysql-4.1 branch (holyfoot:2705) Bug#32167Sergei Golubchik24 Jul