Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 1999 08:07:29 -0400 (EDT)
From:      Jim.Pirzyk@disney.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/13254: Typeo in yplib.c for yp_all subroutine
Message-ID:  <199908191207.IAA40234@amigo.faf.fa.disney.com>

next in thread | raw e-mail | index | archive | help

>Number:         13254
>Category:       bin
>Synopsis:       yp_all error messages have wrong text
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 19 05:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
>Environment:

	Any

>Description:

	The output of an error in the yp_all function will display an 
	error message with yp_next instead of yp_all.

>How-To-Repeat:

	have a program run a yp_all function call that would timeout.

>Fix:
 
*** yplib.c.orig	Sat Mar  7 00:06:10 1998
--- yplib.c	Thu Aug 19 08:03:54 1999
***************
*** 865,871 ****
  	if (clnt_call(clnt, YPPROC_ALL,
  		xdr_ypreq_nokey, &yprnk,
  		xdr_ypresp_all_seq, &status, tv) != RPC_SUCCESS) {
! 			clnt_perror(ysd->dom_client, "yp_next: clnt_call");
  			clnt_destroy(clnt);
  			_yp_unbind(ysd);
  			goto again;
--- 865,871 ----
  	if (clnt_call(clnt, YPPROC_ALL,
  		xdr_ypreq_nokey, &yprnk,
  		xdr_ypresp_all_seq, &status, tv) != RPC_SUCCESS) {
! 			clnt_perror(ysd->dom_client, "yp_all: clnt_call");
  			clnt_destroy(clnt);
  			_yp_unbind(ysd);
  			goto again;


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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