Tcl Source Code

View Ticket
Login
Ticket UUID: 1602520
Title: use getservbyname_r if available/desired
Type: Patch Version: None
Submitter: stwo Created on: 2006-11-24 23:30:33
Subsystem: 49. Threading Assigned To: vasiljevic
Priority: 5 Medium Severity:
Status: Open Last Modified: 2008-12-18 18:54:04
Resolution: Remind Closed By:
    Closed on:
Description:
The patch for configure.in may not be correct.
User Comments: dkf added on 2008-12-18 18:54:04:
We're switching to using getaddrinfo() instead.

vasiljevic added on 2006-11-28 00:02:24:
Logged In: YES 
user_id=95086
Originator: NO

Of course. We should use MT-safe variants where
possible/available. This is not an easy task as you
need access to all possible OS combinations to
check if they all work as expected or not. 
I can take a look on that. If you find any other
non-mt-safe call in Tcl, please report.

das added on 2006-11-27 06:57:31:
Logged In: YES 
user_id=90580
Originator: NO

I think an MT safe wrapper for getservbyname in tclUnixCompat.c like we have for the other _r variants would be better, but Zoran is really the right person to ask.

stwo added on 2006-11-25 06:31:24:

File Added - 204326: unix_configure.in.patch

stwo added on 2006-11-25 06:30:33:

File Added - 204325: generic_tclIOSock.c.patch

Attachments: