Skip site navigation (1) Skip section navigation (2)

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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, 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-26 17:14:58
Message-ID: 200607261714.k6QHEwk27829@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Hiroshi Saito wrote:
> 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.

What was the problem with OSX?  Did it throw a warning of you did an
equality test on an undefined symbol?

-- 
  Bruce Momjian   bruce(at)momjian(dot)us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2006-07-26 17:15:45
Subject: Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug
Previous:From: Greg StarkDate: 2006-07-26 16:47:57
Subject: Re: [HACKERS] Resurrecting per-page cleaner for btree

pgsql-patches by date

Next:From: Bruce MomjianDate: 2006-07-26 17:15:45
Subject: Re: [HACKERS] Patch for VS.Net 2005's strxfrm() bug
Previous:From: Greg StarkDate: 2006-07-26 16:47:57
Subject: Re: [HACKERS] Resurrecting per-page cleaner for btree

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group