From chris@holly.dyndns.org  Thu Feb 11 18:25:02 1999
Received: from holly.dyndns.org ([208.169.163.124])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA29259
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Feb 1999 18:24:58 -0800 (PST)
          (envelope-from chris@holly.dyndns.org)
Received: (from chris@localhost)
	by holly.dyndns.org (8.9.2+chrismods/8.9.1) id UAA06074;
	Thu, 11 Feb 1999 20:25:11 -0600 (CST)
	(envelope-from chris)
Message-Id: <199902120225.UAA06074@holly.dyndns.org>
Date: Thu, 11 Feb 1999 20:25:11 -0600 (CST)
From: Chris Costello <chris@holly.dyndns.org>
Reply-To: phoenix@calldei.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Horrible wording in fetch(1)
X-Send-Pr-Version: 3.2

>Number:         10042
>Category:       bin
>Synopsis:       Horrible wording in fetch(1)
>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:   Thu Feb 11 18:30:01 PST 1999
>Closed-Date:    Mon Mar 1 20:18:37 PST 1999
>Last-Modified:  Mon Mar  1 20:20:01 PST 1999
>Originator:     Chris Costello
>Release:        FreeBSD 3.0-STABLE i386
>Organization:
>Environment:

	FreeBSD 3.0-STABLE cvsupped around January 29, 1999.

>Description:

	horrible, horrible wording in fetch(1):

	[chris@holly chris] $ fetch -l file:/usr/foo/bar/baz
	fetch: non-unexistent: No such file or directory


>How-To-Repeat:

	run fetch -l file:/path/to/something/that/doesnt/exist

>Fix:
	
A patch follows:

--- file.c.orig Thu Feb 11 20:21:48 1999
+++ file.c      Thu Feb 11 20:21:54 1999
@@ -109,7 +109,7 @@
        if (fs->fs_linkfile) {
                fs->fs_status = "checking path";
                if (stat(fs->fs_proto, &sb) == -1) {
-                       warn("non-unexistent");
+                       warn("nonexistent");
                        return EX_NOINPUT;
                }
                fs->fs_status = "symlink";

>Release-Note:
>Audit-Trail:

From: Chris Costello <chris@holly.dyndns.org>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: bin/10042
Date: Sun, 14 Feb 1999 11:53:37 -0600

    Ok, I have a better patch for that.
 
 --- file.c.orig Thu Feb 11 20:21:48 1999
 +++ file.c      Sun Feb 14 11:52:30 1999
 @@ -109,7 +109,7 @@
         if (fs->fs_linkfile) {
                 fs->fs_status = "checking path";
                 if (stat(fs->fs_proto, &sb) == -1) {
 -                       warn("non-unexistent");
 +                       warn("%s", (char *)fs->fs_proto);
                         return EX_NOINPUT;
                 }
                 fs->fs_status = "symlink";
 
 
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Mon Mar 1 20:18:37 PST 1999 
State-Changed-Why:  
Patch applied to rev 1.5 (-current) and rev 1.4.2.1 (3.1-stable).  Thanks! 
>Unformatted:
