Modify the kevent() error reporting to use errno rather than returning
the return value. At least on FreeBSD and NetBSD, kevent() always
returns -1 in case of error, and the actual error is returned via errno.
Details
Details
- Reviewers
labath krytarowski - Commits
- rG096ef4c9f2ec: Merging r354029: --------------------------------------------------------------…
rL354254: Merging r354029:
rGc23f82c02604: [lldb] [MainLoop] Report errno for failed kevent()
rLLDB354029: [lldb] [MainLoop] Report errno for failed kevent()
rL354029: [lldb] [MainLoop] Report errno for failed kevent()
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
That seems right. Even the macos manpage for kevent says the error is returned through errno.