Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 1997 21:36:40 +0100 (MET)
From:      Wolfgang Helbig <wh@MX.BA-Stuttgart.De>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/2420: make world stopps while compiling sbin/dump
Message-ID:  <199701082036.VAA28227@helbig.informatik.ba-stuttgart.de>
Resent-Message-ID: <199701082040.MAA28027@freefall.freebsd.org>

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

>Number:         2420
>Category:       bin
>Synopsis:       make world stopps while compiling sbin/dump
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan  8 12:40:01 PST 1997
>Last-Modified:
>Originator:     Wolfgang Helbig
>Organization:
>Release:        FreeBSD 3.0-CURRENT-ctm#2903 i386
>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);
  		}

>Audit-Trail:
>Unformatted:



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