summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/FStream.cxx
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2018-08-01 09:32:30 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-01 13:05:33 (GMT)
commitbdd0174df1d611c709dd2865d0f07fdd2ac9fa27 (patch)
treed855f9a35b8bae5180e62f3f9265a1c16e25b29c /Source/kwsys/FStream.cxx
parentf0e82ce9a2f50e7ce0b9b95dcf32e47ce9a08369 (diff)
downloadCMake-bdd0174df1d611c709dd2865d0f07fdd2ac9fa27.zip
CMake-bdd0174df1d611c709dd2865d0f07fdd2ac9fa27.tar.gz
CMake-bdd0174df1d611c709dd2865d0f07fdd2ac9fa27.tar.bz2
file(WRITE): Avoid toggling permissions between 644 and 664
On systems with umask 022, this function would set permissions to 664 and restore them to 644 at the end, every single time it was called (which is many times on e.g. install_manifest.txt). The intent of the code was to make non-writable files temporarily writable and to restore permissions in the end, but really, if it's already user-writable there's no point in toggling this back and forth.
Diffstat (limited to 'Source/kwsys/FStream.cxx')
0 files changed, 0 insertions, 0 deletions