]> git.pld-linux.org Git - packages/evolution.git/commitdiff
- Allow timezone offsets to be up to 14 hours ahead of UTC
authorgrzegol <grzegol@pld-linux.org>
Thu, 20 Nov 2003 15:12:43 +0000 (15:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (http://bugzilla.ximian.com/show_bug.cgi?id=49357)

Changed files:
    evolution-timezone_offsets.patch -> 1.1

evolution-timezone_offsets.patch [new file with mode: 0644]

diff --git a/evolution-timezone_offsets.patch b/evolution-timezone_offsets.patch
new file mode 100644 (file)
index 0000000..e0dc328
--- /dev/null
@@ -0,0 +1,27 @@
+2003-10-08  Jeffrey Stedfast  <fejj@ximian.com>
+
+       * camel-mime-utils.c (header_decode_date): Allow timezone offsets
+       to be up to 14 hours ahead of UTC. Fixes bug #49357.
+
+Index: camel-mime-utils.c
+===================================================================
+RCS file: /cvs/gnome/evolution/camel/camel-mime-utils.c,v
+retrieving revision 1.183.4.4
+diff -u -r1.183.4.4 camel-mime-utils.c
+--- camel/camel-mime-utils.c   26 Sep 2003 16:04:49 -0000      1.183.4.4
++++ camel/camel-mime-utils.c   8 Oct 2003 16:42:55 -0000
+@@ -3530,12 +3530,12 @@
+               offset = (*inptr++)=='-'?-1:1;
+               offset = offset * header_decode_int(&inptr);
+               d(printf("abs signed offset = %d\n", offset));
+-              if (offset < -1200 || offset > 1200)
++              if (offset < -1200 || offset > 1400)
+                       offset = 0;
+       } else if (isdigit(*inptr)) {
+               offset = header_decode_int(&inptr);
+               d(printf("abs offset = %d\n", offset));
+-              if (offset < -1200 || offset > 1200)
++              if (offset < -1200 || offset > 1400)
+                       offset = 0;
+       } else {
+               char *tz = decode_token(&inptr);
This page took 0.108564 seconds and 4 git commands to generate.