ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev_port.c
(Generate patch)

Comparing libev/ev_port.c (file contents):
Revision 1.7 by root, Wed Nov 28 11:15:55 2007 UTC vs.
Revision 1.8 by root, Wed Dec 5 13:54:37 2007 UTC

101 } 101 }
102 102
103 if (expect_false (nget == port_eventmax)) 103 if (expect_false (nget == port_eventmax))
104 { 104 {
105 ev_free (port_events); 105 ev_free (port_events);
106 port_eventmax = array_roundsize (port_event_t, port_eventmax << 1); 106 port_eventmax = array_nextsize (sizeof (port_event_t), port_eventmax, port_eventmax + 1);
107 port_events = (port_event_t *)ev_malloc (sizeof (port_event_t) * port_eventmax); 107 port_events = (port_event_t *)ev_malloc (sizeof (port_event_t) * port_eventmax);
108 } 108 }
109} 109}
110 110
111int inline_size 111int inline_size

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines