summaryrefslogtreecommitdiff
path: root/build/parsePreamble.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-10-29 23:03:12 +0000
committerjbj <devnull@localhost>1999-10-29 23:03:12 +0000
commit7b4cf4bf196bbc8477fb5aae8a37c56f20c6aaa2 (patch)
tree28cc9e68bf450e215120326109ef625b02258e50 /build/parsePreamble.c
parent1e0138188b4887431444d90395be0f2fac5c2db3 (diff)
downloadlibrpm-tizen-7b4cf4bf196bbc8477fb5aae8a37c56f20c6aaa2.tar.gz
librpm-tizen-7b4cf4bf196bbc8477fb5aae8a37c56f20c6aaa2.tar.bz2
librpm-tizen-7b4cf4bf196bbc8477fb5aae8a37c56f20c6aaa2.zip
fix: resurrect multiple target platform builds.
CVS patchset: 3404 CVS date: 1999/10/29 23:03:12
Diffstat (limited to 'build/parsePreamble.c')
-rw-r--r--build/parsePreamble.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
index ee1eeeee0..7de63bbe8 100644
--- a/build/parsePreamble.c
+++ b/build/parsePreamble.c
@@ -1,6 +1,6 @@
#include "system.h"
-#include "rpmbuild.h"
+#include <rpmbuild.h>
static int_32 copyTagsDuringParse[] = {
RPMTAG_EPOCH,
@@ -245,6 +245,8 @@ static int readIcon(Header h, const char *file)
icon = xmalloc(statbuf.st_size);
*icon = '\0';
fd = fdOpen(fn, O_RDONLY, 0);
+ /* XXX Fstrerror */
+ /* XXX fdFileno check */
nb = Fread(icon, statbuf.st_size, 1, fd);
Fclose(fd);
if (nb != statbuf.st_size) {