Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP1:GA
libplist.4095
A0009-Fix-PLIST_DATE-parsing-in-xml_to_node.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File A0009-Fix-PLIST_DATE-parsing-in-xml_to_node.patch of Package libplist.4095
From 2e0242bfb0cb032641f2da5fd9e6ddafe3e47f96 Mon Sep 17 00:00:00 2001 From: Nikias Bassen <nikias@gmx.li> Date: Wed, 21 May 2014 10:13:28 +0200 Subject: [PATCH] xplist: Fix PLIST_DATE parsing in xml_to_node() --- src/xplist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xplist.c b/src/xplist.c index 62c624e..200d942 100644 --- a/src/xplist.c +++ b/src/xplist.c @@ -404,7 +404,7 @@ static void xml_to_node(xmlNodePtr xml_node, plist_t * plist_node) tm_utc = gmtime(&timev); timev -= (mktime(tm_utc) - timev); } - data->timeval.tv_sec = (long)time; + data->timeval.tv_sec = (long)timev; data->timeval.tv_usec = 0; data->type = PLIST_DATE; data->length = sizeof(struct timeval);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor