pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cyrille Chépélov <cyrille@softek.fr>
To: pgsql-odbc@postgresql.org
Subject: Re: [patch] CodeGuard fix
Date: Wed, 17 Dec 2003 10:59:37 +0100
Message-ID: <3FE02909.5070404@softek.fr> (raw)
In-Reply-To: <3FE02368.8030101@softek.fr>
References: <3FE02368.8030101@softek.fr>

Cyrille Chépélov wrote:

> the following patch (against 7.03.0200) contains two things:

Note to self: ensure proper blood caffeine content before sending messages.

	-- Cyrille

Attachments:

convert.c.diff (text/plain, 795B) download --- psqlodbc-07.03.0200.vanilla/convert.c 2003-10-20 04:37:42.000000000 +0200 +++ psqlodbc-07.03.0200/convert.c 2003-12-17 10:24:12.000000000 +0100 @@ -44,9 +44,15 @@ #endif #ifdef __CYGWIN__ -#define TIMEZONE_GLOBAL _timezone +# define TIMEZONE_GLOBAL _timezone #elif defined(WIN32) || defined(HAVE_INT_TIMEZONE) -#define TIMEZONE_GLOBAL timezone +# ifdef __BORLANDC__ +# define timezone _timzone +# define daylight _daylight +# define TIMEZONE_GLOBAL _timezone +# else +# define TIMEZONE_GLOBAL timezone +# endif #endif /* @@ -195,6 +201,7 @@ *zone = 0; st->fr = 0; st->infinity = 0; + rest[0] = 0; if ((scnt = sscanf(str, "%4d-%2d-%2d %2d:%2d:%2d%s", &st->y, &st->m, &st->d, &st->hh, &st->mm, &st->ss, rest)) < 6) return FALSE; else if (scnt == 6)

view thread (5+ messages)  latest in thread

Message-ID: <3FE02909.5070404@softek.fr>
Permalink:  ../3FE02909.5070404@softek.fr/
Also on:    postgresql.org/message-id/3FE02909.5070404@softek.fr

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: cyrille@softek.fr
  Subject: Re: [patch] CodeGuard fix
  In-Reply-To: <3FE02909.5070404@softek.fr>
  References: <3FE02368.8030101@softek.fr> <3FE02909.5070404@softek.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox