View Single Post
Old 06-26-2017, 11:04 PM   #37
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,497
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just FYI, Apple's crazy policy of deleting "expired" temp files has bitten me in calibre as well. The solution is to not use /tmp as the temporary directory. Instead use the user cache directory as the temporary directory. You can get that by passing _CS_DARWIN_USER_CACHE_DIR to the confstr() function. That is what calibre does on macOS to work around this issue.
kovidgoyal is offline   Reply With Quote