Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 543242 Details for
Bug 663498
xfce-extra/xfce4-datetime-plugin-0.7.0 with ABI_X86=x32 shows incorrect time and date
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
xfce4-datetime-plugin-0.7.0-x32-fix-GTimeVal-time_t-conversion.patch
file_663498.txt (text/plain), 584 bytes, created by
camper
on 2018-08-13 10:07:41 UTC
(
hide
)
Description:
xfce4-datetime-plugin-0.7.0-x32-fix-GTimeVal-time_t-conversion.patch
Filename:
MIME Type:
Creator:
camper
Created:
2018-08-13 10:07:41 UTC
Size:
584 bytes
patch
obsolete
>--- a/panel-plugin/datetime.c >+++ b/panel-plugin/datetime.c >@@ -133,6 +133,7 @@ > gboolean datetime_update(t_datetime *datetime) > { > GTimeVal timeval; >+ time_t seconds; > gchar *utf8str; > struct tm *current; > guint wake_interval; /* milliseconds to next update */ >@@ -146,7 +147,8 @@ > } > > g_get_current_time(&timeval); >- current = localtime((time_t *)&timeval.tv_sec); >+ seconds = timeval.tv_sec; >+ current = localtime(&seconds); > > if (datetime->layout != LAYOUT_TIME && > datetime->date_format != NULL && GTK_IS_LABEL(datetime->date_label))
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 Raw
Actions:
View
Attachments on
bug 663498
: 543242