Changeset c66ec48


Ignore:
Timestamp:
Jun 21, 2011, 11:19:09 PM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
f0d5ef5
Parents:
c5c5686
git-author:
David Benjamin <davidben@mit.edu> (05/30/11 22:22:22)
git-committer:
David Benjamin <davidben@mit.edu> (06/21/11 23:19:09)
Message:
Remove all uses of G_IO_PRI

Any use of G_IO_PRI (and correspondingly OWL_IO_EXCEPT) is likely a bug
as it's not really used for anything useful. The main use case is TCP
out-of-band data which really isn't used by anyone.

Reported-by: Anders Kaseorg <andersk@mit.edu>
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • popexec.c

    rb37accd rc66ec48  
    5858    g_io_channel_set_close_on_unref(channel, TRUE);
    5959    pe->io_watch = g_io_add_watch_full(channel, G_PRIORITY_DEFAULT,
    60                                        G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP,
     60                                       G_IO_IN | G_IO_ERR | G_IO_HUP,
    6161                                       owl_popexec_inputhandler, pe,
    6262                                       (GDestroyNotify)owl_popexec_unref);
  • zephyr.c

    rb15f9e9 rc66ec48  
    9393
    9494  channel = g_io_channel_unix_new(ZGetFD());
    95   g_io_add_watch(channel, G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP,
     95  g_io_add_watch(channel, G_IO_IN | G_IO_ERR | G_IO_HUP,
    9696                 &owl_zephyr_finish_initialization, NULL);
    9797  g_io_channel_unref(channel);
     
    15141514  event_source = (owl_zephyr_event_source*) source;
    15151515  event_source->poll_fd.fd = fd;
    1516   event_source->poll_fd.events = G_IO_IN | G_IO_HUP | G_IO_PRI | G_IO_ERR;
     1516  event_source->poll_fd.events = G_IO_IN | G_IO_HUP | G_IO_ERR;
    15171517  g_source_add_poll(source, &event_source->poll_fd);
    15181518
Note: See TracChangeset for help on using the changeset viewer.