Commit 41c10c0cec2ac072897c7d8df0e87fdf4b715586

Nick Wellnhofer 2025-01-03T19:49:37

io: Don't cast file descriptors to pointers This doesn't work if open() returns 0 which is rare but can happen. Wrap the fd in a context struct. Fixes #835.