From owner-freebsd-bugs Mon Feb 3 11:30:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA15482 for bugs-outgoing; Mon, 3 Feb 1997 11:30:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA15474; Mon, 3 Feb 1997 11:30:03 -0800 (PST) Resent-Date: Mon, 3 Feb 1997 11:30:03 -0800 (PST) Resent-Message-Id: <199702031930.LAA15474@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, tejblum@arc.hq.cti.ru Received: from yandex.hq.cti.ru (yandex.hq.cti.ru [194.67.85.53]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA14696 for ; Mon, 3 Feb 1997 11:19:56 -0800 (PST) Received: (from tejblum@localhost) by yandex.hq.cti.ru (8.8.4/8.8.4) id TAA01008; Mon, 3 Feb 1997 19:19:56 GMT Message-Id: <199702031919.TAA01008@yandex.hq.cti.ru> Date: Mon, 3 Feb 1997 19:19:56 GMT From: Dmitrij Tejblum Reply-To: tejblum@arc.hq.cti.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/2645: Typo in ypserv/yp_server.c Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: