I'm sorry I thought this was an initialization issue, but this is not,
Howard Chu is right.
After some debugging, it is the tm_usec part which is negative (not the
tm_usub, my mistake), tm_usec is computed from the large integers.
-----Message d'origine-----
De : Pierangelo Masarati [mailto:ando@sys-net.it]
Envoyé : mercredi 27 août 2008 12:23
À : emmanuel.duru(a)atosorigin.com
Cc : openldap-its(a)openldap.org
Objet : Re: (ITS#5668) Invalid entryCSN generated, and slapd will not
restart
emmanuel.duru(a)atosorigin.com wrote:
> I see that tm->tm_usub is negative, there seems to be overflows between
> LARGE_INTEGER and int variables.
If the problem disappears by initializing the static variables in
lutil_gettime(), then it might be a compiler issue.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Fax: +39 0382 476497
Email: ando(a)sys-net.it
-----------------------------------