svn commit: samba r19408 -
in branches/SAMBA_4_0/source/lib/replace: .
Stefan (metze) Metzmacher
metze at samba.org
Thu Oct 19 06:03:05 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tridge at samba.org schrieb:
> Author: tridge
> Date: 2006-10-19 03:04:00 +0000 (Thu, 19 Oct 2006)
> New Revision: 19408
>
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19408
>
> Log:
>
> I think tm_mon is ending up as -1 on some platforms
>
> Modified:
> branches/SAMBA_4_0/source/lib/replace/timegm.c
>
>
> Changeset:
> Modified: branches/SAMBA_4_0/source/lib/replace/timegm.c
> ===================================================================
> --- branches/SAMBA_4_0/source/lib/replace/timegm.c 2006-10-19 01:19:44 UTC (rev 19407)
> +++ branches/SAMBA_4_0/source/lib/replace/timegm.c 2006-10-19 03:04:00 UTC (rev 19408)
> @@ -53,6 +53,7 @@
> unsigned i;
>
> if (tm->tm_mon > 12 ||
> + tm->tm_mon < 0 ||
shouldn't that be > 11 || < 0
or > 12 || < 1
metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFFNxUYm70gjA5TCD8RAuOjAJ44+kq8D2dG4uDw/6qfGMp/SuJ/VgCfdeah
pjQEwQnPyki1vjT2dNlr+0w=
=oH61
-----END PGP SIGNATURE-----
More information about the samba-cvs
mailing list