git-annex/Annex
Joey Hess 0210e81d83
async exception safety for openFd
Audited for openFile and openFd, and this fixes all the ones I found
where an async exception could prevent the file getting closed.

Except for the lock pool, which is a whole other can of worms.
2020-06-05 15:48:00 -04:00
..
AdjustedBranch ByteString Ref continued 2020-04-07 13:27:11 -04:00
Branch fix warning 2020-02-17 15:06:28 -04:00
Concurrent check-ignore resource pool 2020-04-21 11:25:28 -04:00
Content convert replaceFile to createDirectoryUnder 2020-03-06 11:31:01 -04:00
LockPool async exception safety for openFd 2020-06-05 15:48:00 -04:00
MetaData update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
SpecialRemote When parsing git configs, support all the documented ways to write true and false, including "yes", "on", "1", etc. 2020-04-13 14:05:30 -04:00
View update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Action.hs move remoteList into dupState 2020-04-17 14:36:45 -04:00
AdjustedBranch.hs Ref ByteString conversion done 2020-04-07 17:41:09 -04:00
AutoMerge.hs annex.skipunknown with transition plan 2020-05-28 15:55:17 -04:00
BloomFilter.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Branch.hs cat-file resource pool 2020-04-20 15:19:31 -04:00
BranchState.hs disable journal read optimisation when alwayscommit=false 2020-04-15 13:24:33 -04:00
CatFile.hs cat-file resource pool 2020-04-20 15:19:31 -04:00
ChangedRefs.hs ByteString Ref continued 2020-04-07 13:27:11 -04:00
CheckAttr.hs check-ignore resource pool 2020-04-21 11:25:28 -04:00
CheckIgnore.hs check-ignore resource pool 2020-04-21 11:25:28 -04:00
Common.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Concurrent.hs check-ignore resource pool 2020-04-21 11:25:28 -04:00
Content.hs make storeKey throw exceptions 2020-05-13 14:03:00 -04:00
CurrentBranch.hs refactor getCurrentBranch 2018-10-19 17:29:18 -04:00
Difference.hs include git-annex-shell back in 2019-12-02 11:51:52 -04:00
DirHashes.hs use filepath-bytestring for annex object manipulations 2019-12-11 15:25:07 -04:00
Drop.hs separate RemoteConfig parsing basically working 2020-01-14 12:35:08 -04:00
Environment.hs include git-annex-shell back in 2019-12-02 11:51:52 -04:00
Export.hs Ref ByteString conversion done 2020-04-07 17:41:09 -04:00
FileMatcher.hs a few forgotten remote config fields 2020-01-15 11:22:36 -04:00
Fixup.hs Avoid converting .git file in a worktree or submodule to a symlink when the repository is not a git-annex repository. 2020-03-09 14:54:14 -04:00
GitOverlay.hs cache annex index filename for 1.5% speedup to queries 2020-04-10 13:37:04 -04:00
HashObject.hs fix a case where file tracked by git unexpectedly becomes annex pointer file 2019-12-27 15:08:03 -04:00
Hook.hs update uninit to handle all the v7 stuff 2019-10-08 14:34:00 -04:00
Import.hs change retrieveExport and getKey to throw exception 2020-05-15 13:45:53 -04:00
Ingest.hs audit all uses of SomeException to avoid catching async exceptions 2020-06-05 15:16:57 -04:00
Init.hs async exception safety for openFd 2020-06-05 15:48:00 -04:00
InodeSentinal.hs use filepath-bytestring for annex object manipulations 2019-12-11 15:25:07 -04:00
Journal.hs fix fileJournal 2019-12-18 11:29:34 -04:00
Link.hs more RawFilePath 2019-12-18 17:10:28 -04:00
Locations.hs remove pre-commit hook 2020-03-30 11:54:04 -04:00
LockFile.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
LockPool.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Magic.hs Added --mimetype and --mimeencoding file matching options. 2019-09-19 12:09:59 -04:00
MetaData.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Multicast.hs use programPath consistently, not readProgramFile 2020-03-30 16:06:27 -04:00
Notification.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
NumCopies.hs wip RawFilePath 2x git-annex find speedup 2019-11-26 16:01:58 -04:00
Path.hs improve programPath 2020-04-15 16:46:34 -04:00
Perms.hs refactor 2020-03-06 11:43:07 -04:00
Queue.hs remove one more warningIO 2019-11-12 10:45:52 -04:00
RemoteTrackingBranch.hs refactor 2019-11-11 19:10:52 -04:00
ReplaceFile.hs refactor 2020-03-06 11:43:07 -04:00
SpecialRemote.hs When parsing git configs, support all the documented ways to write true and false, including "yes", "on", "1", etc. 2020-04-13 14:05:30 -04:00
Ssh.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
TaggedPush.hs Ref ByteString conversion done 2020-04-07 17:41:09 -04:00
Tmp.hs init: Fix a reversion that broke initialization on systems that need to use pid locking 2019-09-10 13:37:07 -04:00
Transfer.hs move remoteList into dupState 2020-04-17 14:36:45 -04:00
UntrustedFilePath.hs remove SafeFilePath 2020-05-11 14:04:56 -04:00
UpdateInstead.hs v7 for all repositories 2019-08-30 14:09:14 -04:00
Url.hs change retrieveExport and getKey to throw exception 2020-05-15 13:45:53 -04:00
UUID.hs Fix a potential failure to parse git config 2020-04-13 13:05:41 -04:00
VariantFile.hs more RawFilePath 2019-12-18 17:10:28 -04:00
VectorClock.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Version.hs jump right to v8, don't stop part way 2020-02-24 13:21:00 -04:00
View.hs convert to withCreateProcess for async exception safety 2020-06-04 12:05:25 -04:00
Wanted.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
WorkerPool.hs move remoteList into dupState 2020-04-17 14:36:45 -04:00
WorkTree.hs convert replaceFile to createDirectoryUnder 2020-03-06 11:31:01 -04:00
YoutubeDl.hs convert to withCreateProcess for async exception safety 2020-06-04 12:44:09 -04:00