Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>, "William ZHANG" <uniware(at)zedware(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug
Date: 2006-07-25 17:12:31
Message-ID: 018101c6b00d$84034cb0$01324d80@hiroshi5jz7dqj
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

From: "Andrew Dunstan"

> Hiroshi Saito wrote:
> > Hmm, It seems to be the bug of very unpleasant Microsoft.:D
> > I think that the following is desirable as an evasion measure to add.
> >
> > #if defined(_MSC_VER) && _MSC_VER == 1400
> >
> > To be sure, it was only VS2005.
> >
>
>
> Why is this better than:
>
> #if _MSC_VER == 1400
>
>
> Surely this will not be true if _MSC_VER is undefined?

I experienced injustice and the reason of in OSX for it.

Regards,
Hiroshi Saito

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-07-25 17:15:42 Re: Help! - Slony-I - saving/setting/restoring GUC
Previous Message Tom Lane 2006-07-25 17:06:28 Re: On-disk bitmap index patch

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-07-25 18:02:31 Re: Resurrecting per-page cleaner for btree
Previous Message Andrew Dunstan 2006-07-25 16:41:41 Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug