Commit 2f4fa2c6 authored by Michael Hanus 's avatar Michael Hanus

Fix problem which might occur when the Global implementation is used on Windows emulators

parent 39421ad9
......@@ -91,7 +91,8 @@ writeGlobalFile(FileName,Val) :-
close(Stream),
% make files for storing globals only accessible for the user:
appendAtom('chmod 600 ',FileName,ChmodCmd),
shellCmd(ChmodCmd),
% ignore errors (might occur in Windows emulators) since not relevant:
on_exception(_,shellCmd(ChmodCmd,_),true),
unlockWithFile(LockFile).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment