Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 124158 Details for
Bug 184484
app-crypt/gnupg-2.0.6 gettime test failure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gnupg-2.0.5-gettime.patch
gnupg-2.0.5-gettime.patch (text/plain), 575 bytes, created by
Alon Bar-Lev (RETIRED)
on 2007-07-07 16:52:53 UTC
(
hide
)
Description:
gnupg-2.0.5-gettime.patch
Filename:
MIME Type:
Creator:
Alon Bar-Lev (RETIRED)
Created:
2007-07-07 16:52:53 UTC
Size:
575 bytes
patch
obsolete
> >Fix timezone issue with gettime. > >--- > >diff -urNp gnupg-2.0.5.org/common/gettime.c gnupg-2.0.5/common/gettime.c >--- gnupg-2.0.5.org/common/gettime.c 2007-07-05 13:12:47.000000000 +0300 >+++ gnupg-2.0.5/common/gettime.c 2007-07-07 19:51:01.000000000 +0300 >@@ -208,8 +208,11 @@ isotime2epoch (const char *string) > tmbuf.tm_mday = day; > tmbuf.tm_mon = month-1; > tmbuf.tm_year = year - 1900; >- tmbuf.tm_isdst = -1; >- return timegm (&tmbuf); >+ tmbuf.tm_isdst = 0; >+{ >+ time_t x = mktime (&tmbuf); >+ return x + mktime (localtime (&x)) - mktime (gmtime (&x)); >+} > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184484
:
124150
|
124158