mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
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.
This commit is contained in:
parent
75e62f2201
commit
b70699bcc5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue