Menu

#224 Consistently replace all calls to a private GLibc functions

closed-fixed
core (47)
5
2012-06-14
2012-06-14
No

Hello.Some Glibc functions are marked as private in a so-called "stable" distributions (with proven and old glibc versions). Their usage is not alloved and generally discouraged. Eventually they will be declared as stable someday but until then we shouldn't use them.

So far some calls to these function were already replaced in the OpenSIPs code but one call was missed. This patch ensures that OpenSIPs doesn't call Glibc private functions.

Discussion

  • Vladut-Stefan Paiu

    • assigned_to: nobody --> vladut-paiu
    • status: open --> closed-fixed
     
  • Vladut-Stefan Paiu

    Hi Peter,

    Nice catch, this was introduced recently, with the addition of the dns_cache module in 1.8.
    The fix was committed in 1.8 and trunk.

    Thanks and Regards,
    Vlad

     

Log in to post a comment.