freebsd-nq/libexec/ypxfr
Bill Paul 34a042e8b8 - 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 Import the new ypxfr, written by yours truly. Functionally equivalent 1995-12-25 03:07:13 +00:00
yp_dbwrite.c Sync with my sources at home (these are really tiny changes): 1996-01-06 20:28:06 +00:00
ypxfr_extern.h Import the new ypxfr, written by yours truly. Functionally equivalent 1995-12-25 03:07:13 +00:00
ypxfr_getmap.c Import the new ypxfr, written by yours truly. Functionally equivalent 1995-12-25 03:07:13 +00:00
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 Import the new ypxfr, written by yours truly. Functionally equivalent 1995-12-25 03:07:13 +00:00
ypxfr.8 Import the new ypxfr, written by yours truly. Functionally equivalent 1995-12-25 03:07:13 +00:00