#5251: copyFile does not copy metadata
---------------------------------+------------------------------------------
Reporter: Orphi | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/directory
Version: 7.0.2 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
The `copyFile` function fails to copy various metadata to do with a file.
(GHC 7.0.2, directory 1.1.0.0 - not that I expect it to matter.)
The cause is simple: Rather than calling an OS-specific "please copy this
file" function, the directory package attempts to implement this logic
itself. And does it completely wrong.
The fix should be easy; we just need somebody to figure out what the
appropriate native OS function is on each platform.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5251>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs