Kurt Roeckx <Q(at)ping(dot)be> writes:
> I guess I missed that that section is only about IPv6. So it
> should use inet_addr()'s behaviour.
Well, the question is still whether *our* code is doing anything wrong,
or whether the blame rests entirely with the complainant's C library.
AFAICT the issue must be in his C library, because it seemed to work
as he wanted on my platform...
regards, tom lane