Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 1996 19:01:41 -0700 (PDT)
From:      Bill Paul <wpaul>
To:        CVS-committers, cvs-all, cvs-usrsbin
Subject:   cvs commit:  src/usr.sbin/ypserv Makefile.yp yp_access.c yp_dblookup.c
Message-ID:  <199606050201.TAA02138@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       96/06/04 19:01:39

  Modified:    usr.sbin/ypserv  Makefile.yp yp_access.c yp_dblookup.c
  Log:
  Makefile.yp:
  
  - Add a 'pushpw' target that only yppushes the various passwd maps
    and sends a YPPROC_CLEAR to the local ypserv. This will be used by
    rpc.yppasswdd once I merge in the in-place update changes.
  
  yp_access.c:
  
  - Make the yp_access() function print RPC program and procedure numbers
    that it doesn't know about in literal form. This will allow it to work
    with other prgrams that it doesn't know about, like rpc.ypxfrd I'm going
    to import shortly.
  
  yp_dblookup.c:
  
  - Take out the __inline keywords. They weren't really helping me anyway.
  
  - Somehow I broke yp_next() when DB_CACHE wasn't #defined. Fix it.
  
  - Also fix potential case where yp_next() might loop forever; make sure
    it checks the return values of all the (dbp->seq)()/R_NEXT calls that
    it does as well as comparing keys.
  
  Revision  Changes    Path
  1.6       +17 -2     src/usr.sbin/ypserv/Makefile.yp
  1.9       +11 -3     src/usr.sbin/ypserv/yp_access.c
  1.7       +23 -15    src/usr.sbin/ypserv/yp_dblookup.c



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