chiark / gitweb /
checkpath.c, tmpdir.c: Use symbolic names for permission masks.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 16 Jul 2024 14:09:58 +0000 (15:09 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 17 Jul 2024 12:23:10 +0000 (13:23 +0100)
commitcfc8dd737dacc7b3ad394fa2d8649cf809a54bc8
tree63b5d4bf9445eee1e3bb5d01a572a8cd4f3fde68
parent879843463bdf570d8b1b4adf031b60e4ddf85f68
checkpath.c, tmpdir.c: Use symbolic names for permission masks.

It turns out that they fit fairly well with what we're trying to do
here, and I think that, for once, the code is clearer for using them.

Portability doesn't seem to be a concern for these values.
checkpath.c
tmpdir.c