[darcs-devel] darcs patch

David Roundy droundy at abridgegame.org
Tue Oct 26 04:35:43 PDT 2004


On Mon, Oct 25, 2004 at 12:35:22PM -0400, simons at cryp.to wrote:
> 
> Mon Oct 25 18:24:14 CEST 2004  simons at cryp.to
>   * POSIX and CGI don't exist anymore in GHC 6.3.
...
> hunk ./Diff.lhs 21
> - -import Posix ( setFileTimes, epochTime )
> +import System.Posix ( setFileTimes, epochTime )
> hunk ./SlurpDirectory.lhs 52
> - -import Posix ( EpochTime, getFileStatus, modificationTime,
> - -               sleep, FileOffset, fileSize,
> - -               setFileTimes, epochTime,
> - -             )
> +import System.Posix ( EpochTime, getFileStatus, modificationTime,
> +                      sleep, FileOffset, fileSize,
> +                      setFileTimes, epochTime
> +                    )

Alas, this will break the windows build, which creates Posix.hs.  At the
minimum, could you add an #ifdef, so that with windows we use Posix?
-- 
David Roundy
http://www.abridgegame.org




More information about the darcs-devel mailing list