Ver Fonte

* fixed EPOLLOUT vs EPOLLPRI mixup in constants

git-svn-id: trunk@4526 -
Almindor há 19 anos atrás
pai
commit
2c8c5800bc
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      rtl/linux/linux.pp

+ 2 - 2
rtl/linux/linux.pp

@@ -50,8 +50,8 @@ Const
   CLONE_PID     = $00001000; // set if pid shared
   CLONE_PID     = $00001000; // set if pid shared
 
 
   EPOLLIN  = $01; { The associated file is available for read(2) operations. }
   EPOLLIN  = $01; { The associated file is available for read(2) operations. }
-  EPOLLOUT = $02; { The associated file is available for write(2) operations. }
-  EPOLLPRI = $04; { There is urgent data available for read(2) operations. }
+  EPOLLPRI = $02; { There is urgent data available for read(2) operations. }
+  EPOLLOUT = $04; { The associated file is available for write(2) operations. }
   EPOLLERR = $08; { Error condition happened on the associated file descriptor. }
   EPOLLERR = $08; { Error condition happened on the associated file descriptor. }
   EPOLLHUP = $10; { Hang up happened on the associated file descriptor. }
   EPOLLHUP = $10; { Hang up happened on the associated file descriptor. }
   EPOLLET  = $80000000; { Sets  the  Edge  Triggered  behaviour  for  the  associated file descriptor. }
   EPOLLET  = $80000000; { Sets  the  Edge  Triggered  behaviour  for  the  associated file descriptor. }