[libc-commits] [libc] [libc] Fix fileno() to return EBADF for non-Linux File streams (PR #227760)

via libc-commits libc-commits at lists.llvm.org
Sat Nov 7 08:35:09 PST 2026


linisha15 wrote:

> Sorry about the slow review, this got lost in my inbox. This seems like a good solution that avoids requiring the generic `File` to know about file descriptors.
> 
> I've left some comments for things to fix, but overall this seems good.

Its okay, I have commited your suggested fixes, please review it.

https://github.com/llvm/llvm-project/pull/227760


More information about the libc-commits mailing list