Skip to Content.
Sympa Menu

freetds - Re: [freetds] time parsing

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] time parsing
  • Date: Fri, 22 Jul 2005 13:42:43 +0200

>
> Hi there,
>
> thanks for freetds!
>
> I use it since 2 years and today I ran into a problem with
> 0.63 (from the
> debian package - I ran 0.61 before and it had the same problem):
>
> I'm reading a record with a datetime and I don't know why but
> a special row
> seems to contain garbage at the end:
>
> src=0xbfffe030 "Di 10 Mai 2005 14:03:43 š%S\bhàÿ¿ËÍî·8"
> (german locale)
>
> Then the parsing routine set the timezone to an illegal value:
>
> tm = {tm_sec = 43, tm_min = 3, tm_hour = 14, tm_mday = 10, tm_mon = 4,
> tm_year = 105, tm_wday = 2, tm_yday = 130, tm_isdst = 0,
> tm_gmtoff = 420,
> tm_zone = 0x2b <Address 0x2b out of bounds>}
>

... omissis ...

This patch contains all changes from 0.63 version to 0.63 branch. If you
don't have autoconf stuff on your machine do not apply patch for configure.it
(it just bump version to 0.63.1).

freddy77

Attachment: post63.diff.gz
Description: post63.diff.gz




Archive powered by MHonArc 2.6.24.

Top of Page