timeplot 0.2.23 → 0.2.24
raw patch · 2 files changed
+4/−2 lines, 2 files
Files
- Tools/TimePlot.hs +3/−1
- timeplot.cabal +1/−1
Tools/TimePlot.hs view
@@ -229,7 +229,9 @@ readSource readTime f = (justs . map parseLine . blines) `fmap` (if f=="-" then B.getContents else B.readFile f) where justs xs = [x | Just x <- xs]- blines = B.split '\n'+ blines = map pruneLF . B.split '\n'+ pruneLF b | not (B.null b) && (B.last b == '\r') = B.init b+ | otherwise = b strict = S.concat . B.toChunks parseLine s = do (t, s') <- readTime s
timeplot.cabal view
@@ -1,5 +1,5 @@ name: timeplot-version: 0.2.23+version: 0.2.24 cabal-version: >=1.6 build-type: Simple license: BSD3