Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 11:12:45 -0800 (PST)
From:      Jacques Vidrine <nectar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/net nsdispatch.c
Message-ID:  <200404011912.i31JCjwh018798@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
nectar      2004/04/01 11:12:45 PST

  FreeBSD src repository

  Modified files:
    lib/libc/net         nsdispatch.c 
  Log:
  The previous commit changed the behavior of nsdispatch() in the
  case where an /etc/nsswitch.conf file was present, but could not
  be opened (e.g. due to permissions).  Previously, the open failure
  condition was suppressed, and the built-in defaults were used.  In
  revision 1.11, however, propagated the open failure causing all
  nsdispatch() invocations to return NS_UNAVAIL, and thus many APIs
  including getpwnam and gethostbyname unconditionally failed.
  
  This commit restores the previous behavior.
  
  Pointy hat:     nectar  (+1 for obstinance; ache had to use clue bat)
  Reported by:    ache
  
  Revision  Changes    Path
  1.12      +1 -3      src/lib/libc/net/nsdispatch.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404011912.i31JCjwh018798>