Ebright, Don said:
> Jon,
>
> You are quite welcome.
Sweet. Don=Don+beverage_of_choice;
>>Should I send in the minor change to pcap-bpf.c?
>
> I see no reason not to incorporate this change into libpcap. It has
> worked out well for me because it hasn't looped and it resolved the
> original problem with the EFAULT terminating the read loop prematurely.
> I suggest putting a #ifdef _AIX around the two new lines to protect
> other platforms.
Here it is - I'll also post it to the patches page, and let the
appropriate powers review it.
Thanks again, Don.
*** pcap-bpf.c.orig Fri Sep 27 10:12:34 2002
--- pcap-bpf.c Fri Sep 27 11:12:41 2002
***************
*** 108,113 ****
--- 108,117 ----
case EINTR:
goto again;
+ #ifdef _AIX
+ case EFAULT:
+ goto again;
+ #endif
case EWOULDBLOCK:
return (0);
--
-Jon
"As three unwavering bands of light, we were simple and separate and
beautiful. As machines, we were flabby bags of ancient plumbing and
wiring, of rusty hinges and feeble springs. And our
interrelationships were Byzantine."
- Kurt Vonnegut, Breakfast of Champions
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe