Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-03-16
06:24 • Closed ticket [1681697fff]: fconfigure -sockname fails on 64-bit plus 2 othe... artifact: c25e708aea user: das
06:23 • Ticket [1681697fff]: 6 changes artifact: 6601464cbe user: das
05:43 • Ticket [1681697fff]: 2 changes artifact: 62e6299c83 user: dkf
2007-03-15
20:20 • New ticket [1681697fff]. artifact: 65152c1725 user: nobody

fconfigure -sockname fails on 64-bit

Closed / Out of Date1681697fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-03-15 20:20:58
Reproduced on 64-bit Solaris.
This is because TclpInetNtoa in
unix/tclUnixThrd.c uses unsigned long
instead of uint32_t (unsigned int).

The problem is also in 8.5a5.

Uwe Zimmermann
Gambit Communications, Inc.
[email protected]
dkf Ticket [1681697fff]: 2 changes [History diff]2007-03-16 05:43:05
dasplain2007-03-16 06:23:57
Logged In: YES 
user_id=90580
Originator: NO

already fixed in core-8-4-branch and HEAD:

2006-12-19  Daniel Steffen  <[email protected]>
* unix/tclUnixThrd.c (TclpInetNtoa): fix for 64 bit.

http://rutherglen.ics.mq.edu.au/fisheye/browse/Tcl/tcl/unix/tclUnixThrd.c?r1=1.49&r2=1.46
http://rutherglen.ics.mq.edu.au/fisheye/browse/Tcl/tcl/unix/tclUnixThrd.c?r1=1.23.2.12&r2=1.23.2.15
das Closed ticket [1681697fff]. [History diff]2007-03-16 06:24:40
Log in (anonymous is fine) to add a comment.