On Jan 25, 2011, at 07:17, Adam R. Maxwell wrote:

>> AFAIK the rule is that the resource a temporary file has been using (disk 
>> space, and if RAM or virtual memory would be involved, this is arbitrated by 
>> the system and users should not meddle with this) is basically released, as 
>> soon as the temporary file is closed. Since quitting an application 
>> implicitly also closes normally all its files, they are released to be 
>> possibly deleted whenever the system sees fit.
> 
> The system unlinks all files older than 3 days in the temporary directory, 
> which doesn't affect open files (although IIRC it will screw up file packages 
> if you only have a single file in it open).  IIRC the schedule is in 
> /System/Library/LaunchDaemons/com.apple.bsd.dirhelper.plist.  It has nothing 
> to do with quitting an application; the PDF files that I just downloaded are 
> still there after quitting the browser and the PDF viewers.


As an addendum, here's the problem report that I recalled seeing.

http://www.cocoabuilder.com/archive/cocoa/227830-can-dirhelper-delete-files-in-nstemporarydirectory-while-app-is-running.html

His bug report was probably redirected to /dev/null, as the problem still 
exists on 10.6.  Cocoa doesn't have an equivalent to the old 
kChewableItemsFolderType, which was cleaned up only on restart.



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to