ObjFW  Diff

Differences From Artifact [9e9e13990f]:

To Artifact [68c03424f8]:


374
375
376
377
378
379
380

381
382

383
384
385
386
387
388
389
	if (foundInCache)
		return YES;

#ifdef OF_HAVE_POLL
	fds_c = [fds cArray];
	nfds = [fds count];


	if (nfds > OPEN_MAX)
		@throw [OFOutOfRangeException newWithClass: isa];


	if (poll(fds_c, (nfds_t)nfds, timeout) < 1)
		return NO;

	for (i = 0; i < nfds; i++) {
		OFNumber *num;
		OFStream *stream;







>


>







374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
	if (foundInCache)
		return YES;

#ifdef OF_HAVE_POLL
	fds_c = [fds cArray];
	nfds = [fds count];

# ifdef OPEN_MAX
	if (nfds > OPEN_MAX)
		@throw [OFOutOfRangeException newWithClass: isa];
# endif

	if (poll(fds_c, (nfds_t)nfds, timeout) < 1)
		return NO;

	for (i = 0; i < nfds; i++) {
		OFNumber *num;
		OFStream *stream;