Use more portable file access mode tests (ticket #5)
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 4 Nov 2008 07:52:19 +0000 (09:52 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 4 Nov 2008 07:52:19 +0000 (09:52 +0200)
commitdc06dca3b99f809f826f25565ace384b54f3b488
tree7326173f77878cb23ac0ac55e546ea95a4961795
parent759b73a4293e56209e922bf58d7028234e854338
Use more portable file access mode tests (ticket #5)
- don't make assumptions about how O_RDWR and friends are defined, use the
  portable way of masking flags with O_ACCMODE and explicit comparison
  against the mode we're interested in
lib/backend/db3.c
lib/rpmchecksig.c
lib/rpmdb.c
rpmio/rpmio.c