Skip to content
Tcl Source Code Artifact [5d5ffc81c0]
Login

Artifact [5d5ffc81c0]

Artifact 5d5ffc81c0decf4b2fb8c501f7db9136c56f74031ff21fa4dd2defaecd53402f:

Ticket change [5d5ffc81c0] - New ticket [8afd93d3d360b933|8afd93d3d3] <i>Clock format fails on NetBSD 11.1 on Sparc64</i>. by anonymous on 2026-11-13 22:13:29.
D 2026-11-13T22:13:29.000
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Platform:\sNetBSD\s11.1\srunning\son\sa\sSun\sUltra\s5\s(Sparc64,\sbig-endian).\r\nTcl\sis\sversion\s9.1.0.\r\nGCC\sis\sversion\s12.5.0.\r\n\r\nThe\sissue:\r\nclock\sformat\scommands\sreturn\szero\sfor\shours/minutes/seconds.\r\n\r\nTo\sreproduce:\r\n$\sclock\sformat\s[clock\sseconds]\s-format\s"%a\s%b\s%d\s%H:%M:%S"\r\nExpected\sresult:\sFri\sNov\s13\s21:49:32\r\nActual\sresult:\sFri\sNov\s13\s00:00:00\r\n\r\nMany\smore\sclock\sfunctions\sappear\sto\sbe\saffected\sas\swell,\srunning\s'make\stest'\sshows\sa\svery\slarge\snumber\sof\serrors\sin\sclock.test.\r\n\r\nTesting\son\san\samd64\splatform\sshows\sno\serrors\sin\sclock.test,\swhich\ssuggests\sa\sbig/little\sendian\sissue.\r\n\r\nLooking\sat\sthe\ssource,\ssecondOfDay\sis\sdeclared\sto\sbe\sTcl_WideInt\sin\stclDate.h\sbut\sis\saccessed\susing\sIntFieldAt()\swithin\stclClockFmt.c.\r\nThat\swill\sread\sincorrect\sdata\son\sa\sbig-endian\shost.
J foundin 9.1.0
J is_private 0
J login anonymous
J priority 5\sMedium
J resolution None
J severity Severe
J status Open
J submitter anonymous
J subsystem 16.\sCommands\sA-H
J title Clock\sformat\sfails\son\sNetBSD\s11.1\son\sSparc64
J type Bug
K 8afd93d3d360b933a8402157dccf4bb8a9c10026
U anonymous
Z 2845b5ceb37ee7ca58fc45915a12283b