Changeset e146cd7


Ignore:
Timestamp:
Jun 22, 2011, 12:37:22 AM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
84a071f
Parents:
aa69c1e
git-author:
David Benjamin <davidben@mit.edu> (05/30/11 22:22:22)
git-committer:
David Benjamin <davidben@mit.edu> (06/22/11 00:37:22)
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

    ra6a9ddb re146cd7  
    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

    r2d04312 re146cd7  
    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.