| Ticket UUID: | 1602520 | ||
| Title: | use getservbyname_r if available/desired | ||
| Type: | Patch | Created on: | 2006-11-24 23:30:33 |
| Submitter: | stwo | Assigned to: | vasiljevic |
| Subsystem: | 49. Threading | Severity: | |
| Priority: | 5 Medium | Last modified: | 2008-12-18 18:54:04 |
| Status: | Open | Closed by: | |
| Resolution: | Remind | Closed on: | |
| Version: | None | ||
| Description: | ||||
The patch for configure.in may not be correct. | ||||
| User Comments: | ||||
stwo added on 2006-11-25 06:30:33:
File Added - 204325: generic_tclIOSock.c.patch stwo added on 2006-11-25 06:31:24:
File Added - 204326: unix_configure.in.patch 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. 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. dkf added on 2008-12-18 18:54:04:
We're switching to using getaddrinfo() instead. | ||||
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]
