projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b7f087
)
use standard timestamp convertion of zypp
author
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Thu, 2 Feb 2006 14:03:18 +0000
(14:03 +0000)
committer
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Thu, 2 Feb 2006 14:03:18 +0000
(14:03 +0000)
zypp/source/yum/YUMPatchImpl.cc
patch
|
blob
|
history
diff --git
a/zypp/source/yum/YUMPatchImpl.cc
b/zypp/source/yum/YUMPatchImpl.cc
index
8b00714
..
7098f0b
100644
(file)
--- a/
zypp/source/yum/YUMPatchImpl.cc
+++ b/
zypp/source/yum/YUMPatchImpl.cc
@@
-50,7
+50,7
@@
namespace zypp
: _source(source_r)
{
_patch_id = parsed.patchId;
- _timestamp =
atol(parsed.timestamp.c_str()
);
+ _timestamp =
str::strtonum<time_t>(parsed.timestamp
);
_category = parsed.category;
_reboot_needed = parsed.rebootNeeded;
_affects_pkg_manager = parsed.packageManager;