]> git.saurik.com Git - apt.git/commit
Rename FileFd::Open() Perms to AccessMode
authorMichael Vogt <mvo@ubuntu.com>
Wed, 9 Apr 2014 08:24:47 +0000 (10:24 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Thu, 10 Apr 2014 06:59:51 +0000 (08:59 +0200)
commite5f3f8c101b772a6eb6326203a2174e809ab406d
tree005804736a04d0d6fe7a0a3b28c90abdb48ea93c
parentf22b65b47990237bd5d9a1c171919c3059fbd9b0
Rename FileFd::Open() Perms to AccessMode

Bug lp:#1304657 was caused by confusion around the name Perms.
The new name AccessMode should make it clear that its not the
literal file permissions but instead the AccessMode passed to
open() (i.e. the umask needs to be applied)
apt-pkg/contrib/fileutl.cc
apt-pkg/contrib/fileutl.h