cvs commit: src/lib/libc/net getaddrinfo.c getnameinfo.c name6.c

Hajimu UMEMOTO ume at FreeBSD.org
Wed May 4 23:07:05 PDT 2005


ume         2005-05-05 06:07:05 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    lib/libc/net         getaddrinfo.c getnameinfo.c name6.c 
  Log:
  MFS:
  
  - replace use of a spinlock with a mutex.
  - enclose getservby{name,port}(3) call with mutex lock.
  - protect _hostconf_init_done and _hostconf_init() call with mutex lock.
  
          lib/libc/net/getaddrinfo.c:     1.41
          lib/libc/net/name6.c:           1.33
          lib/libc/net/getnameinfo.c:     1.14.6.1, 1.14.6.2
  
  Revision  Changes    Path
  1.9.2.17  +21 -13    src/lib/libc/net/getaddrinfo.c
  1.4.2.6   +27 -2     src/lib/libc/net/getnameinfo.c
  1.6.2.12  +13 -10    src/lib/libc/net/name6.c


More information about the cvs-src mailing list