Branch: Tag:

2013-02-25

2013-02-25 13:58:12 by Arne Goedeke <el@laramies.com>

System.Inotify: use files.Fd() objects instead of file descriptors

780:    eventstream->callback_func = eventstream_callback;   #elseif HAVE_INOTIFY    instance = Inotify._Instance(); -  file = Stdio.File(instance->get_fd(), "r"); +  file = Stdio.File(); +  file->assign(instance->fd());    file->set_nonblocking();    file->set_read_callback(inotify_parse);   #endif