mirror of
https://github.com/NixOS/nix.git
synced 2025-11-18 00:12:43 +01:00
Prevent config.h from being clobbered
This commit is contained in:
parent
8057a192e3
commit
28bba8c44f
27 changed files with 165 additions and 277 deletions
|
|
@ -32,7 +32,7 @@ struct MakeReadOnly
|
|||
{
|
||||
try {
|
||||
/* This will make the path read-only. */
|
||||
if (path != "") canonicaliseTimestampAndPermissions(path);
|
||||
if (path != "") canonicalisePathMetaData(path, false);
|
||||
} catch (...) {
|
||||
ignoreException();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue