… | … | ||
---|---|---|---|
223 | $nb = (! ! $nb) + 0; | 223 | $nb = (! ! $nb) + 0; |
224 | ioctl $fh, 0x8004667e, \$nb; # FIONBIO | 224 | ioctl $fh, 0x8004667e, \$nb; # FIONBIO |
225 | } else { | 225 | } else { |
226 | fcntl $fh, &Fcntl::F_SETFL, $nb ? &Fcntl::O_NONBLOCK : 0; | 226 | fcntl $fh, &Fcntl::F_SETFL, $nb ? &Fcntl::O_NONBLOCK : 0; |
227 | } | 227 | } |
228 | |||
229 | } | 228 | } |
230 | 229 | ||
231 | package DC::Layout; | 230 | package DC::Layout; |
232 | 231 | ||
233 | $DC::OpenGL::INIT_HOOK{"DC::Layout"} = sub { | 232 | $DC::OpenGL::INIT_HOOK{"DC::Layout"} = sub { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |