use getservbyname_r if available/desired
Open1602520fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 18 years ago
Descriptionplain2006-11-24 23:30:33
The patch for configure.in may not be correct.
stwoplain2006-11-25 06:30:33
File Added - 204325: generic_tclIOSock.c.patch
stwoplain2006-11-25 06:31:24
File Added - 204326: unix_configure.in.patch
dkf Ticket [1602520fff]: 1 change
[History diff]2006-11-27 06:03:44
dasplain2006-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.
vasiljevicplain2006-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.
dkf Ticket [1602520fff]: 1 change
[History diff]2007-09-17 20:26:24
dkfplain2008-12-18 18:54:04
We're switching to using getaddrinfo() instead.
Log in (anonymous is fine) to add a comment.
Attachments:
- unix_configure.in.patch [download] added by stwo on 2006-11-25 06:31:24. [details]
- generic_tclIOSock.c.patch [download] added by stwo on 2006-11-25 06:30:33. [details]