mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 17:20:29 -04:00
Update to 5.0.0a2-alexdupre snapshot (and fix 5.0.0a1 memory leak). Add DB4 extension. Correctly use USE_MYSQL/USE_OPENSSL/USE_OPENLDAP. PR: ports/56979 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
17 lines
444 B
C
17 lines
444 B
C
--- ext/standard/datetime.c.orig Tue Aug 26 11:06:04 2003
|
|
+++ ext/standard/datetime.c Tue Aug 26 11:07:27 2003
|
|
@@ -116,7 +116,13 @@
|
|
/* Let DST be unknown. mktime() should compute the right value
|
|
** and behave correctly. Unless the user overrides this.
|
|
*/
|
|
- ta->tm_isdst = -1;
|
|
+ if (gm) {
|
|
+ ta->tm_isdst = 0;
|
|
+ is_dst = 0;
|
|
+ } else {
|
|
+ ta->tm_isdst = -1;
|
|
+ is_dst = -1;
|
|
+ }
|
|
|
|
/*
|
|
** Now change date values with supplied parameters.
|