]> granicus.if.org Git - python/commitdiff
Set the finder "is shared" bit, by request of Joe Strout. It seems this allows multip...
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 3 Dec 1999 23:38:05 +0000 (23:38 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 3 Dec 1999 23:38:05 +0000 (23:38 +0000)
write their datafork so it appears safe.

Mac/Lib/buildtools.py

index ba1dd647237a9420f19bc4e6019678ff0a755fc5..e8c6eb0108fac05954f88716bcdfe2477cb95636 100644 (file)
@@ -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)