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:
1b11db2
)
added support for INT8 types in query formats
author
ewt
<devnull@localhost>
Thu, 27 Jun 1996 18:14:45 +0000
(18:14 +0000)
committer
ewt
<devnull@localhost>
Thu, 27 Jun 1996 18:14:45 +0000
(18:14 +0000)
CVS patchset: 682
CVS date: 1996/06/27 18:14:45
query.c
patch
|
blob
|
history
diff --git
a/query.c
b/query.c
index
60c4a30
..
beede3f
100644
(file)
--- a/
query.c
+++ b/
query.c
@@
-150,6
+150,11
@@
static const char * handleFormat(Header h, const char * chptr,
printf(format, p);
break;
+ case INT8_TYPE:
+ strcat(format, "d");
+ printf(format, *((int_8 *) p));
+ break;
+
case INT32_TYPE:
if (isDate) {
strcat(format, "s");