-
Petr Pudlak authored
The problem is that (at least) GHC 7.6.3 has a bug that leaks memory for 'handleToFd' calls. Hence as a workaround we open the file again using just 'openFd'. The additional benefit is that it also works if the file has been already close. Signed-off-by: Petr Pudlak <pudlak@google.com> Reviewed-by: Klaus Aehlig <aehlig@google.com>
d7418fff