haskell / haskell/network-bsd

getHostEntry is just an infinite loop

Open
#8 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
7
Forks
8
PR merge metrics
No merged PRs in 30d

Description

The current definition of `getHostEntry` is

```
getHostEntry :: IO HostEntry
getHostEntry = withLock getHostEntry
```

which is just an infinite loop. I assume it should be

```
getHostEntry :: IO HostEntry
getHostEntry = withLock getHostEntry'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.