Maxime Villard
2018-04-21 10:05:40 UTC
A bizarre ifndef I noticed some time ago in IPv4:
[sys/netinet/ip_output.c]
1580 #ifndef __vax__
1581 if (cnt % sizeof(int32_t))
1582 return EINVAL;
1583 #endif
I don't understand why vax shouldn't have this check. The code dates back to
rev1, 25 years ago. I think we can keep the check but remove the ifndef.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
[sys/netinet/ip_output.c]
1580 #ifndef __vax__
1581 if (cnt % sizeof(int32_t))
1582 return EINVAL;
1583 #endif
I don't understand why vax shouldn't have this check. The code dates back to
rev1, 25 years ago. I think we can keep the check but remove the ifndef.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de