diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-vcs/darcs/files/darcs-2.8.4-fix-nonatomic-global.patch | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-vcs/darcs/files/darcs-2.8.4-fix-nonatomic-global.patch')
-rw-r--r-- | dev-vcs/darcs/files/darcs-2.8.4-fix-nonatomic-global.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-vcs/darcs/files/darcs-2.8.4-fix-nonatomic-global.patch b/dev-vcs/darcs/files/darcs-2.8.4-fix-nonatomic-global.patch deleted file mode 100644 index c3fce6fbc9e8..000000000000 --- a/dev-vcs/darcs/files/darcs-2.8.4-fix-nonatomic-global.patch +++ /dev/null @@ -1,20 +0,0 @@ -There is a bug in speculateFileOrUrl. -It puts downloaded file nonatomically. - -There is a window when copyFileOrUrl can (and does) -copy partially downloaded file. - -Darcs-bug: http://bugs.darcs.net/issue2364 -diff --git a/src/Darcs/External.hs b/src/Darcs/External.hs -index 2e0e791..d5a0b9f 100644 ---- a/src/Darcs/External.hs -+++ b/src/Darcs/External.hs -@@ -184,7 +184,7 @@ copyFileOrUrl rd fou out _ | isSshUrl fou = copySSH rd (splitSshUrl fou) - copyFileOrUrl _ fou _ _ = fail $ "unknown transport protocol: " ++ fou - - speculateFileOrUrl :: String -> FilePath -> IO () --speculateFileOrUrl fou out | isHttpUrl fou = speculateRemote fou out -+speculateFileOrUrl fou out | isHttpUrl fou = speculateRemote fou out >> waitUrl fou - | otherwise = return () - - copyLocal :: String -> FilePath -> IO () |