Albert Chin posted a patch to fix a problem on Solaris with dates,
authorDaniel Veillard <veillard@src.gnome.org>
Mon, 21 Nov 2005 11:06:22 +0000 (11:06 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Mon, 21 Nov 2005 11:06:22 +0000 (11:06 +0000)
* libexslt/date.c: Albert Chin posted a patch to fix a problem on
  Solaris with dates, extended bitfield size too to match libxml2
  code from xmlschemastypes.c
Daniel

ChangeLog
libexslt/date.c

index 87a678a..ed9773c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Nov 21 12:05:41 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libexslt/date.c: Albert Chin posted a patch to fix a problem on
+         Solaris with dates, extended bitfield size too to match libxml2
+         code from xmlschemastypes.c
+
 Wed Nov 16 12:47:25 CET 2005 Daniel Veillard <daniel@veillard.com>
 
        * libexslt/functions.c: fix an problem raised by Ralf Junker in the
index 2558e47..c533d4d 100644 (file)
@@ -89,7 +89,8 @@ struct _exsltDateValDate {
     unsigned int       min     :6;     /* 0 <=  min    <= 59   */
     double             sec;
     unsigned int       tz_flag :1;     /* is tzo explicitely set? */
-    int                        tzo     :11;    /* -1440 <= tzo <= 1440 */
+    signed int         tzo     :12;    /* -1440 <= tzo <= 1440
+                                          currently only -840 to +840 are needed */
 };
 
 /* Duration value */