diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 15:15:41 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 15:15:41 +0200 |
commit | ceb96638f6ceba45f353c132b104543404515fed (patch) | |
tree | 49916475d9b57ff9cc1dcd11fafb281c20aa7dcc /build | |
parent | bb72efaaaa6dad878877eeb12cbad67383a0cf35 (diff) | |
download | librpm-tizen-ceb96638f6ceba45f353c132b104543404515fed.tar.gz librpm-tizen-ceb96638f6ceba45f353c132b104543404515fed.tar.bz2 librpm-tizen-ceb96638f6ceba45f353c132b104543404515fed.zip |
Use rpm_flag_t for header generic bitfields (file flags etc)
- additionally use rpmfileAtts / rpmVerifyFlags consistently where
appropriate
Diffstat (limited to 'build')
-rw-r--r-- | build/files.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build/files.c b/build/files.c index c268128ea..ba1f33b74 100644 --- a/build/files.c +++ b/build/files.c @@ -69,7 +69,7 @@ typedef struct FileListRec_s { const char *gname; unsigned flags; specdFlags specdFlags; /* which attributes have been explicitly specified. */ - unsigned verifyFlags; + rpmVerifyFlags verifyFlags; char *langs; /* XXX locales separated with | */ } * FileListRec; @@ -110,13 +110,13 @@ typedef struct FileList_s { int isDir; int inFtw; - int currentFlags; + rpmfileAttrs currentFlags; specdFlags currentSpecdFlags; - int currentVerifyFlags; + rpmVerifyFlags currentVerifyFlags; struct AttrRec_s cur_ar; struct AttrRec_s def_ar; specdFlags defSpecdFlags; - int defVerifyFlags; + rpmVerifyFlags defVerifyFlags; int nLangs; char ** currentLangs; @@ -281,9 +281,9 @@ static rpmRC parseForVerify(const char * buf, FileList fl) { char *p, *pe, *q; const char *name; - int *resultVerify; + rpmVerifyFlags *resultVerify; int negated; - int verifyFlags; + rpmVerifyFlags verifyFlags; specdFlags * specdFlags; if ((p = strstr(buf, (name = "%verify"))) != NULL) { |