HardenedBSD/libexec/ypxfr
wpaul f4d93dcaff - Fix error reporting when checking order number via NIS: we return zero
on a failure, but if we're checking a corrupt map we could also get back
  a zero from ypserv without really encountering any actual error. Flag this
  condition and generate an meaningful error message.

- Fix transmission of ypxfr_clear to ypserv: error checking was wrong
  and we sending YPXFR_YPERR as an error status instead of YPXFR_CLEAR.

- To help avoid a race condition (or at least reduce the likelyhood of
  it occuring), use rename() to move a newly transfered map into place
  instead of unlink()ing the old one first and then renaming. Da man page
  sez that rename should do the unlink() for us. This prevents ypserv
  from returning 'no such map in domain' when asked to query a map which
  ypxfr has just unlink()ed but not yet replaced.
1996-01-10 17:44:10 +00:00
..
Makefile
yp_dbwrite.c
ypxfr_extern.h
ypxfr_getmap.c
ypxfr_main.c - Fix error reporting when checking order number via NIS: we return zero 1996-01-10 17:44:10 +00:00
ypxfr_misc.c
ypxfr.8