shkhln / libc6-shim

Cheap glibc knockoff
MIT License
29 stars 5 forks source link

localeconv and epoll_create1 implementations #12

Closed crynux closed 10 months ago

crynux commented 11 months ago

I needed these to get some games to run on my machine; namely Slime Rancher 2, and Metal Hellsinger.

I've tested these changes a few times, and the games actually run for a while. But I do still encounter some issue with running out of memory after some time. I'm unsure if it's related to these implementations ... but I guess at least the games run for now.

Please let me know if any changes are needed ... I tried to match the style in the repo.

Edit: I use sway with wayland ... not sure if it makes a difference, but figured worth mentioning.