[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 15:17:02 UTC 2010


The following commit has been merged in the master branch:
commit 4bc7f39017c816cf39e5efdd792fc8d543ab5f3a
Author: John Goerzen <jgoerzen at complete.org>
Date:   Sun Dec 3 09:21:38 2006 +0100

    Renamed MissingH.Checksum.CRC32.GZip to Data.Hash.CRC32.GZip

diff --git a/MissingH.cabal b/MissingH.cabal
index 381bd12..d66db80 100644
--- a/MissingH.cabal
+++ b/MissingH.cabal
@@ -39,7 +39,7 @@ Exposed-Modules: MissingH.Str, MissingH.IO, MissingH.IO.Binary, MissingH.List,
     MissingH.ConfigParser.Parser,
     MissingH.ConfigParser.Lexer,
   Data.Bits.Utils,
-  MissingH.Checksum.CRC32.Posix, MissingH.Checksum.CRC32.GZip,
+  MissingH.Checksum.CRC32.Posix, Data.Hash.CRC32.GZip,
    MissingH.Checksum.MD5, MissingH.Checksum.MD5.Zord64_HARD,
   MissingH.Compression.Inflate,
   MissingH.FileArchive.GZip,
diff --git a/MissingH/FileArchive/GZip.hs b/MissingH/FileArchive/GZip.hs
index 8ad53cf..db199ea 100644
--- a/MissingH/FileArchive/GZip.hs
+++ b/MissingH/FileArchive/GZip.hs
@@ -49,7 +49,7 @@ module MissingH.FileArchive.GZip (
 where
 
 import MissingH.Compression.Inflate
-import MissingH.Checksum.CRC32.GZip
+import Data.Hash.CRC32.GZip
 import Data.List
 import Data.Bits
 import Control.Monad.Error
@@ -276,7 +276,7 @@ filename and comments.
 
 The 'Footer' contains a GZip CRC32 checksum over the decompressed data as
 well as a 32-bit length of the decompressed data.  The module
-'MissingH.Checksum.CRC32.GZip' is used to validate stored CRC32 values.
+'Data.Hash.CRC32.GZip' is used to validate stored CRC32 values.
 
 The vast majority of GZip files contain only one 'Section'.  Standard tools
 that work with GZip files create single-section files by default.
diff --git a/MissingH/Checksum/CRC32/GZip.hs b/src/Data/Hash/CRC32/GZip.hs
similarity index 98%
rename from MissingH/Checksum/CRC32/GZip.hs
rename to src/Data/Hash/CRC32/GZip.hs
index 8ea6aba..edea625 100644
--- a/MissingH/Checksum/CRC32/GZip.hs
+++ b/src/Data/Hash/CRC32/GZip.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 -}
 
 {- |
-   Module     : MissingH.Checksum.CRC32.GZip
+   Module     : Data.Hash.CRC32.GZip
    Copyright  : Copyright (C) 2004 John Goerzen
    License    : GNU GPL, version 2 or later
 
@@ -32,7 +32,7 @@ RFC1952.
 Copyright (c) 2004 John Goerzen, jgoerzen\@complete.org
 -}
 
-module MissingH.Checksum.CRC32.GZip where
+module Data.Hash.CRC32.GZip where
 
 import Data.Array
 import Data.Bits
diff --git a/testsrc/CRC32GZIPtest.hs b/testsrc/CRC32GZIPtest.hs
index 83a1db1..4345400 100644
--- a/testsrc/CRC32GZIPtest.hs
+++ b/testsrc/CRC32GZIPtest.hs
@@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 module CRC32GZIPtest(tests) where
 import Test.HUnit
-import MissingH.Checksum.CRC32.GZip
+import Data.Hash.CRC32.GZip
 
 test_crcgzip =
     let f msg inp exp = TestLabel msg $ TestCase $ assertEqual "" exp (calc_crc32 inp) in

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list