Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 1997 19:19:56 GMT
From:      Dmitrij Tejblum <tejblum@yandex.hq.cti.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/2645: Typo in ypserv/yp_server.c
Message-ID:  <199702031919.TAA01008@yandex.hq.cti.ru>
Resent-Message-ID: <199702031930.LAA15474@freefall.freebsd.org>

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


>Number:         2645
>Category:       bin
>Synopsis:       Small typo (IMO) in file src/usr.sbin/ypserv/yp_server.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb  3 11:30:02 PST 1997
>Last-Modified:
>Originator:     Dmitrij Tejblum
>Organization:
CompTek International
>Release:        FreeBSD 2.2-BETA_A i386
>Environment:

2.2-BETA sources

>Description:

	See Fix.

>How-To-Repeat:

	See Fix

>Fix:

Here is the patch.
	
*** yp_server.c.orig	Thu Oct 24 18:58:26 1996
--- yp_server.c	Mon Feb  3 13:03:48 1997
***************
*** 397,404 ****
  		sprintf (t, "%u", argp->transid);
  		sprintf (g, "%u", argp->prog);
  		sprintf (p, "%u", argp->port);
! 		if (debug)
  			close(0); close(1); close(2);
  		if (strcmp(yp_dir, _PATH_YP)) {
  			execl(ypxfr_command, "ypxfr",
  			"-d", argp->map_parms.domain,
--- 397,405 ----
  		sprintf (t, "%u", argp->transid);
  		sprintf (g, "%u", argp->prog);
  		sprintf (p, "%u", argp->port);
! 		if (debug) {
  			close(0); close(1); close(2);
+ 		}
  		if (strcmp(yp_dir, _PATH_YP)) {
  			execl(ypxfr_command, "ypxfr",
  			"-d", argp->map_parms.domain,



>Audit-Trail:
>Unformatted:



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