summaryrefslogtreecommitdiff
path: root/query.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-06-27 18:14:45 +0000
committerewt <devnull@localhost>1996-06-27 18:14:45 +0000
commit5c1b4c03770cc549473df83aa37ba15eb9ef54fc (patch)
treefa34446e12da0c52ba0642968823b4096c0c8833 /query.c
parent1b11db2d4f98e38a8252811d820bd4bdf4e957ee (diff)
downloadrpm-5c1b4c03770cc549473df83aa37ba15eb9ef54fc.tar.gz
rpm-5c1b4c03770cc549473df83aa37ba15eb9ef54fc.tar.bz2
rpm-5c1b4c03770cc549473df83aa37ba15eb9ef54fc.zip
added support for INT8 types in query formats
CVS patchset: 682 CVS date: 1996/06/27 18:14:45
Diffstat (limited to 'query.c')
-rw-r--r--query.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/query.c b/query.c
index 60c4a303a..beede3fb3 100644
--- 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");