Tcl Source Code

View Ticket
Login
Ticket UUID: dbf9884c567e3e342ba13f3366d6a0e5a54dfa2d
Title: socket-14.19 and scan-15.1 fail on illumos
Type: Bug Created on: 2026-10-12 08:18:26
Submitter: serhiy.storchaka Assigned to: jan.nijtmans
Subsystem: 69. Other Severity: Minor
Priority: 5 Medium Last modified: 2026-10-18 20:44:01
Status: Closed Closed by: jan.nijtmans
Resolution: Fixed Closed on: 2026-10-18 20:44:01
Version: 9.1.0
Description:

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.

User Comments:
jan.nijtmans added on 2026-10-18 20:26:18:

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

Many thanks!


jan.nijtmans added on 2026-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)