From wh@MX.BA-Stuttgart.De  Wed Jan  8 12:38:01 1997
Received: from terminator.informatik.ba-stuttgart.de (terminator.informatik.ba-stuttgart.de [141.31.1.21])
          by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id MAA27890
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Jan 1997 12:36:49 -0800 (PST)
Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by terminator.informatik.ba-stuttgart.de (8.7.6/8.7.3) with ESMTP id UAA04044 for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Jan 1997 20:35:57 +0100
Received: (from root@localhost)
          by helbig.informatik.ba-stuttgart.de (8.8.4/8.8.4)
	  id VAA28227; Wed, 8 Jan 1997 21:36:40 +0100 (MET)
Message-Id: <199701082036.VAA28227@helbig.informatik.ba-stuttgart.de>
Date: Wed, 8 Jan 1997 21:36:40 +0100 (MET)
From: Wolfgang Helbig <wh@MX.BA-Stuttgart.De>
Reply-To: wh@MX.BA-Stuttgart.De
To: FreeBSD-gnats-submit@freebsd.org
Subject: make world stopps while compiling sbin/dump
X-Send-Pr-Version: 3.2

>Number:         2420
>Category:       bin
>Synopsis:       make world stopps while compiling sbin/dump
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan  8 12:40:01 PST 1997
>Closed-Date:    Sun Jan 12 20:45:18 MET 1997
>Last-Modified:  Tue Nov 27 19:23:34 PST 2001
>Originator:     Wolfgang Helbig
>Release:        FreeBSD 3.0-CURRENT-ctm#2903 i386
>Organization:
>Environment:

	

>Description:

 	The source for /sbin/dump does not compile.	

>How-To-Repeat:


>Fix:
	
Index: main.c
===================================================================
RCS file: /usr/cvsroot/src/sbin/dump/main.c,v
retrieving revision 1.9
diff -c -r1.9 main.c
*** main.c	1997/01/07 20:47:24	1.9
--- main.c	1997/01/08 20:23:39
***************
*** 257,263 ****
  		tape = index(host, ':');
  		*tape++ = '\0';
  #ifdef RDUMP
! 		if (index(tape, "\n") {
  		    (void)fprintf(stderr, "invalid characters in tape\n");
  		    exit(X_ABORT);
  		}
--- 257,263 ----
  		tape = index(host, ':');
  		*tape++ = '\0';
  #ifdef RDUMP
! 		if (index(tape, "\n")) {
  		    (void)fprintf(stderr, "invalid characters in tape\n");
  		    exit(X_ABORT);
  		}

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Jan 12 20:45:18 MET 1997 
State-Changed-Why:  
Fixed by Peter in rev 1.10. 

>Unformatted:
