Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/ypserv/yppush Pull up rev. 1.14:



details:   https://anonhg.NetBSD.org/src/rev/0f49a82b39a3
branches:  netbsd-1-5
changeset: 489473:0f49a82b39a3
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Sep 19 17:45:12 2000 +0000

description:
Pull up rev. 1.14:
Don't abort if pushing to one server in the ypservers map fails.
There might be serveral more waiting to be pushed to.

This is only 1/2 of the fix.  ypxfer(8) also needs a change to
avoid a false error, but this allows pushes to continue to work,
at least.

Problem noted by aflury%zembu.com@localhost and agordon%zembu.com@localhost.

diffstat:

 usr.sbin/ypserv/yppush/yppush.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r aed0b5ba7c57 -r 0f49a82b39a3 usr.sbin/ypserv/yppush/yppush.c
--- a/usr.sbin/ypserv/yppush/yppush.c   Tue Sep 19 17:40:46 2000 +0000
+++ b/usr.sbin/ypserv/yppush/yppush.c   Tue Sep 19 17:45:12 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: yppush.c,v 1.12 2000/06/03 14:33:18 fvdl Exp $ */
+/*     $NetBSD: yppush.c,v 1.12.2.1 2000/09/19 17:45:12 thorpej Exp $  */
 
 /*
  *
@@ -301,9 +301,6 @@
 {
        struct yppush_info *ypi = (struct yppush_info *) indata;
 
-       if (instatus != YP_TRUE)                /* failure? */
-               return (instatus);
-
        push(inkey, inkeylen, ypi);             /* do it! */
        return (0);
 }



Home | Main Index | Thread Index | Old Index