summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1999-12-03 23:38:05 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1999-12-03 23:38:05 (GMT)
commitb70699bcc57ba26762269e4a1aab8581fccb46b4 (patch)
tree2a41e3a31a1f2b7580d4250e19d0137ef1a93a72 /Mac/Lib
parent75e62f22011caf8934b4856f0969178c3cfdcea8 (diff)
downloadcpython-b70699bcc57ba26762269e4a1aab8581fccb46b4.zip
cpython-b70699bcc57ba26762269e4a1aab8581fccb46b4.tar.gz
cpython-b70699bcc57ba26762269e4a1aab8581fccb46b4.tar.bz2
Set the finder "is shared" bit, by request of Joe Strout. It seems this allows multiple simultaneous copies to be run from a server, and Applets shouldn't
write their datafork so it appears safe.
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/buildtools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Lib/buildtools.py b/Mac/Lib/buildtools.py
index ba1dd64..e8c6eb0 100644
--- a/Mac/Lib/buildtools.py
+++ b/Mac/Lib/buildtools.py
@@ -228,7 +228,7 @@ def process_common(template, progress, code, rsrcname, destname, is_update, copy
dest_finfo = dest_fss.GetFInfo()
dest_finfo.Creator = ownertype
dest_finfo.Type = 'APPL'
- dest_finfo.Flags = dest_finfo.Flags | MACFS.kHasBundle
+ dest_finfo.Flags = dest_finfo.Flags | MACFS.kHasBundle | MACFS.kIsShared
dest_finfo.Flags = dest_finfo.Flags & ~MACFS.kHasBeenInited
dest_fss.SetFInfo(dest_finfo)