Changeset 18858 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Apr 10, 2009 7:20:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r18726 r18858 351 351 # else /* RT_OS_WINDOWS */ 352 352 struct pollfd *polls = NULL; 353 unsigned int cPollNegRet; 353 354 # endif /* !RT_OS_WINDOWS */ 354 355 … … 387 388 388 389 int cChangedFDs = poll(polls, nFDs + 1, ms ? ms : -1); 389 #ifndef RT_OS_LINUX /* 2.6.23 + gdb -> hitting all the time. probably a bug in poll/ptrace/whatever. */ 390 AssertRelease(cChangedFDs >= 0); 391 #endif 390 /* 2.6.23 + gdb -> hitting all the time. probably a bug in poll/ptrace/whatever. */ 391 if (cChangedFDs < 0) 392 { 393 if (cPollNegRet++ > 128) 394 { 395 cPollNegRet = 0; 396 LogRel(("Poll returns (%s) suppressed %d\n", strerror(errno), cPollNegRet)); 397 } 398 } 399 392 400 if (cChangedFDs >= 0) 393 401 {
Note:
See TracChangeset
for help on using the changeset viewer.