~ubuntu-branches/ubuntu/jaunty/rxvt-unicode/jaunty-proposed

« back to all changes in this revision

Viewing changes to libev/ev_poll.c

  • Committer: Bazaar Package Importer
  • Author(s): Decklin Foster
  • Date: 2008-11-08 18:32:29 UTC
  • mfrom: (1.1.14 upstream) (3.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081108183229-ea9loek9xy4xy3as
Tags: 9.06-1
* New upstream version
  - Uses PERL_SYS_INIT3 (Closes: #495066)
* Disable libafterimage in -lite flavor (Closes: #493480)

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
void inline_size
43
43
pollidx_init (int *base, int count)
44
44
{
 
45
  /* consider using memset (.., -1, ...), which is pratically guarenteed
 
46
   * to work on all systems implementing poll */
45
47
  while (count--)
46
48
    *base++ = -1;
47
49
}
96
98
      else if (errno == ENOMEM && !syserr_cb)
97
99
        fd_enomem (EV_A);
98
100
      else if (errno != EINTR)
99
 
        syserr ("(libev) poll");
 
101
        ev_syserr ("(libev) poll");
100
102
    }
101
103
  else
102
104
    for (p = polls; res; ++p)