]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- tzset-default patch bugfix; release 13 auto/th/glibc-2.27-13
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Jul 2018 21:11:49 +0000 (23:11 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 14 Jul 2018 21:11:49 +0000 (23:11 +0200)
glibc-tzset-default.patch
glibc.spec

index a88f0c6d44909f00c8916eb0bd86df34c50d39f2..1aa61cafced6466e6744bd7ce11ee7143bda02a4 100644 (file)
@@ -11,11 +11,11 @@ when:
  
 +static void time_adjust_limited(time_t *value, long diff)
 +{
-+  static long time_min = (sizeof(time_t) == 4) ? INT32_MIN : INT64_MIN;
-+  static long time_max = (sizeof(time_t) == 4) ? INT32_MAX : INT64_MAX;
++  static time_t time_min = (sizeof(time_t) == 4) ? INT32_MIN : INT64_MIN;
++  static time_t time_max = (sizeof(time_t) == 4) ? INT32_MAX : INT64_MAX;
 +  if (diff < 0)
 +  {
-+    if (*value >= time_min + diff)
++    if (*value >= time_min - diff)
 +      *value += diff;
 +    else
 +      *value = time_min;
index 58d6130f6ba1f84ea4a4ea0d0d0ff9aaaae5ed7a..ffb7393a585bced255b90af873f6d8f93f9aef8f 100644 (file)
@@ -41,7 +41,7 @@ Summary(tr.UTF-8):    GNU libc
 Summary(uk.UTF-8):     GNU libc версії
 Name:          glibc
 Version:       %{core_version}
-Release:       12
+Release:       13
 Epoch:         6
 License:       LGPL v2.1+
 Group:         Libraries
This page took 0.134483 seconds and 4 git commands to generate.