diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-21 17:36:23 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-06-21 17:36:23 +0200 |
| commit | 835226ea18526e3d9b95697b9bdd15cde6e19e50 (patch) | |
| tree | 6583708c637cd53b259c91f8226296771973f5fe | |
| parent | 959fa071e023aa33aa724162984f65b434296241 (diff) | |
| download | trivmix-835226ea18526e3d9b95697b9bdd15cde6e19e50.tar trivmix-835226ea18526e3d9b95697b9bdd15cde6e19e50.tar.gz trivmix-835226ea18526e3d9b95697b9bdd15cde6e19e50.tar.bz2 trivmix-835226ea18526e3d9b95697b9bdd15cde6e19e50.tar.xz trivmix-835226ea18526e3d9b95697b9bdd15cde6e19e50.zip | |
Fixed stderrLock starting out in wrong state
| -rw-r--r-- | src/Trivmix.hs | 2 | ||||
| -rw-r--r-- | trivmix.cabal | 2 | ||||
| -rw-r--r-- | trivmix.nix | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Trivmix.hs b/src/Trivmix.hs index 181025d..0f84f62 100644 --- a/src/Trivmix.hs +++ b/src/Trivmix.hs | |||
| @@ -165,7 +165,7 @@ handleFiles :: INotify -> MVar Level -> [FilePath] -> IO () | |||
| 165 | handleFiles inotify level files = do | 165 | handleFiles inotify level files = do |
| 166 | initLevel <- readMVar level | 166 | initLevel <- readMVar level |
| 167 | levelChanges <- (newChan :: IO (Chan Level)) | 167 | levelChanges <- (newChan :: IO (Chan Level)) |
| 168 | stderrLock <- newMVar () | 168 | stderrLock <- newEmptyMVar |
| 169 | let | 169 | let |
| 170 | handleFile file = do | 170 | handleFile file = do |
| 171 | levelChanges' <- dupChan levelChanges | 171 | levelChanges' <- dupChan levelChanges |
diff --git a/trivmix.cabal b/trivmix.cabal index 0fd85f2..e6dcc3b 100644 --- a/trivmix.cabal +++ b/trivmix.cabal | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | -- documentation, see http://haskell.org/cabal/users-guide/ | 2 | -- documentation, see http://haskell.org/cabal/users-guide/ |
| 3 | 3 | ||
| 4 | name: trivmix | 4 | name: trivmix |
| 5 | version: 2.4.2 | 5 | version: 2.4.3 |
| 6 | -- synopsis: | 6 | -- synopsis: |
| 7 | -- description: | 7 | -- description: |
| 8 | license: PublicDomain | 8 | license: PublicDomain |
diff --git a/trivmix.nix b/trivmix.nix index ebeb77f..ec065eb 100644 --- a/trivmix.nix +++ b/trivmix.nix | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | cabal.mkDerivation (self: { | 7 | cabal.mkDerivation (self: { |
| 8 | pname = "trivmix"; | 8 | pname = "trivmix"; |
| 9 | version = "2.4.2"; | 9 | version = "2.4.3"; |
| 10 | src = ./.; | 10 | src = ./.; |
| 11 | isLibrary = false; | 11 | isLibrary = false; |
| 12 | isExecutable = true; | 12 | isExecutable = true; |
