[Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file
bugtracker at ...3416...
bugtracker at ...3416...
Sat Jul 16 18:16:48 CEST 2016
http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4-
Comment #6 by Zainudin AHMAD:
This is my patch, it's seems work
diff -urNaX /tmp/gambas-patch-ignore a/.src/Project.module b/.src/Project.module
--- a/.src/Project.module 2016-07-16 22:15:28.000000000 +0700
+++ b/.src/Project.module 2016-07-16 22:16:01.000000000 +0700
@@ -5705,7 +5705,7 @@
If Not Access(sPath, gb.Write) Then Return True
Do
- If sPath = Project.Dir Or If sPath = "/" Or If Not sPath Then Break
+ If sPath = Project.Dir Or If IsFake(Project.Dir) Or If sPath = "/" Or If Not sPath Then Break
If Stat(sPath).Type = gb.Link Then
Return True
Endif
More information about the User
mailing list