cvs commit: fptools/ghc/lib/std Directory.lhs
Simon Marlow
simonmar@microsoft.com
Wed, 7 Nov 2001 09:53:14 -0000
> sof 2001/11/06 23:56:57 PST
>=20
> Added files:
> ghc/lib/std Directory.lhs=20
> Log:
> Directory impl which interacts with OS plat via C wrappers
Thanks, that looks fine. One potential problem though: some of the
wrappers deal with CMode and CTime, so the intermediate C will only be
portable to platforms on which these types are the same size. =20
CMode probably isn't a problem (we're only considering portability
between 32 bit systems after all), but CTime may be a problem as various
OS's are planning to up it to 64-bits even on 32-bit plats. Perhaps we
should use Int64 instead of CTime?
Cheers,
Simon