[freetds] time parsing
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Fri Jul 22 07:42:43 EDT 2005
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: post63.diff.gz
Type: application/x-gzip
Size: 6981 bytes
Desc: post63.diff.gz
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20050722/4b685495/post63.diff.bin
More information about the FreeTDS
mailing list