Explorar o código

Kernel: select() was transferring the readfds into the exceptfds vector.

Just a mistake I spotted while reading the code. We don't actually detect
exceptional descriptor events yet.
Andreas Kling %!s(int64=6) %!d(string=hai) anos
pai
achega
cdaf8cd656
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Kernel/Process.cpp

+ 1 - 1
Kernel/Process.cpp

@@ -1794,7 +1794,7 @@ int Process::sys$select(const Syscall::SC_select_params* params)
     error = transfer_fds(readfds, current->m_select_read_fds);
     if (error)
         return error;
-    error = transfer_fds(readfds, current->m_select_exceptional_fds);
+    error = transfer_fds(exceptfds, current->m_select_exceptional_fds);
     if (error)
         return error;