ObjFW  Diff

Differences From Artifact [d8e79884c0]:

To Artifact [9a99bdfa5c]:


124
125
126
127
128
129
130
131

132
133
134

135
136
137
138
139
140
141
142
143
144
145
146
147
148
124
125
126
127
128
129
130

131



132







133
134
135
136
137
138
139







-
+
-
-
-
+
-
-
-
-
-
-
-








	objc_autoreleasePoolPop(pool);

	events = kevent(kernelQueue, [changeList items],
	    (int)[changeList count], eventList, EVENTLIST_SIZE,
	    (timeout == -1 ? NULL : &timespec));

	if (events == -1) {
	if (events < 0)
		switch (errno) {
		case EINTR:
			return NO;
		return NO;
		case ENOMEM:
			@throw [OFOutOfMemoryException
			    exceptionWithClass: [self class]];
		default:
			assert(0);
		}
	}

	[changeList removeAllItems];

	if (events == 0)
		return NO;

	for (i = 0; i < events; i++) {