Skip to content
Tcl Source Code View Ticket
Login

View Ticket

socket-14.19 and scan-15.1 fail on illumos

Closed / Fixeddbf9884c567e3e342ba13f3366d6a0e5a54dfa2dCreated 52 days agoUpdated 46 days ago
Descriptionwiki2026-10-12 08:18:26
Two tests fail on illumos (OpenIndiana) because of platform differences, not Tcl bugs:
  • socket-14.19 uses -reuseport yes, but illumos has no SO_REUSEPORT, so socket fails with "SO_REUSEPORT isn't supported by this platform".
  • scan-15.1 cases n19-n21 expect format %.17g of an overflowing value to match *inf, but the illumos libc prints infinity.

Proposed fix in branch tests-illumos-portability: a new constraint reuseport for socket-14.19, and the pattern *inf* in scan-15.1.

Referenced by3
jan.nijtmanswiki2026-10-18 20:26:18

Fixed in [trunk], backported to core-9-0-branch

Many thanks!

jan.nijtmanswiki2026-10-18 20:44:01

B.T.W.: the scan-15.1 changes were reverted, because they were also fixed by [2dff98e079] (which is a better fix)

Log in (anonymous is fine) to add a comment.