Fall back to unsigned int, not int, for socklen_t.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 01ec41a5fe4aa590dde18a2c551432aa1925caea
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-11-11T15:36:39Z
Releases: 15.0
Fall back to unsigned int, not int, for socklen_t.

It's a coin toss which of these is a better default assumption.
However, of the machines we have in the buildfarm, the only ones
relying on the fallback socklen_t definition are ancient HPUX,
and on that platform unsigned int is the right choice.  Minor
tweak to ee3a1a5b6.

Discussion: https://postgr.es/m/1440792.1636558888@sss.pgh.pa.us

Files

PathChange+/−
src/include/port.h modified +2 −1

Discussion

Cited messages not in the archive: 1440792.1636558888@sss.pgh.pa.us