Re: Lion crashed by AppleScript
Re: Lion crashed by AppleScript
- Subject: Re: Lion crashed by AppleScript
- From: Doug McNutt <email@hidden>
- Date: Fri, 22 Jul 2011 14:47:23 -0600
An interesting thread.
UNIX buffers open files. It's very likely that a script accessing a plist file is really talking to a block of memory that is holding a cache of most or perhaps all of the file. That cache could even exist for a short time after its application has quit.
In principle the kernel is taking care of all of that but one could wonder if lion is mucking with it.
Suppose, for instance, that Apple decided that it would be more efficient to hold, in the cache or a copy thereof, the decoded form of a plist which might be the name and value pairs instead of the XML perhaps compressed, file that is on the disk.
AppleScript might be able to talk to the disk image but I doubt if it can muck with an image that is in a decoded XML format. Perhaps that's what the defaults tool has to work with.
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden