projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a40d6b
)
fixed handling of build time
author
marc
<devnull@localhost>
Wed, 27 Dec 1995 20:59:07 +0000
(20:59 +0000)
committer
marc
<devnull@localhost>
Wed, 27 Dec 1995 20:59:07 +0000
(20:59 +0000)
CVS patchset: 113
CVS date: 1995/12/27 20:59:07
query.c
patch
|
blob
|
history
diff --git
a/query.c
b/query.c
index
61a5777
..
5c5b2cb
100644
(file)
--- a/
query.c
+++ b/
query.c
@@
-40,7
+40,7
@@
void printHeader(Header h, int queryFlags) {
getEntry(h, RPMTAG_SIZE, &type, (void **) &size, &count);
getEntry(h, RPMTAG_BUILDTIME, &type, (void **) &pBuildDate, &count);
- tstruct = localtime(
&
pBuildDate);
+ tstruct = localtime(
(time_t *)
pBuildDate);
strftime(buildDateStr, sizeof(buildDateStr) - 1, "%c", tstruct);
printf("Name : %-27s Distribution: %s\n",