Menu

#491 use getservbyname_r if available/desired

open-remind
5
2007-09-17
2006-11-24
No

The patch for configure.in may not be correct.

Discussion

  • Stuart Cassoff

    Stuart Cassoff - 2006-11-24
     
  • Stuart Cassoff

    Stuart Cassoff - 2006-11-24
     
  • Donal K. Fellows

    • assigned_to: nobody --> das
     
  • Daniel A. Steffen

    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.

     
  • Daniel A. Steffen

    • assigned_to: das --> vasiljevic
     
  • Zoran Vasiljevic

    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.

     
  • Donal K. Fellows

    • status: open --> open-remind
     
  • Donal K. Fellows

    We're switching to using getaddrinfo() instead.