73c4c523 |
1 | s/^( fcntl fd=\d+ cmd=F_SETFL) 2050$/$1 O_NONBLOCK\|\.\.\./; |
2 | if ($last =~ m/^ fcntl fd=\d+ cmd=F_GETFL$/) { |
3 | s/^ fcntl=2$/ fcntl\=\~O_NONBLOCK\&.../; |
4 | } |
5 | if ($last =~ m/^ fcntl fd=\d+ cmd=F_SETFL /) { |
6 | s/^ fcntl=0$/ fcntl\=OK/; |
7 | } |
8 | $last=$_; |