From nsayer@quack.kfu.com  Tue Mar 18 11:39:54 1997
Received: from quack.kfu.com (0@quack.kfu.com [204.147.226.1])
          by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id LAA22105
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 Mar 1997 11:39:50 -0800 (PST)
Received: from morpheus.kfu.com (morpheus.kfu.com [204.147.226.4]) by quack.kfu.com (8.6.12/8.6.12) with ESMTP id LAA27922 for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 Mar 1997 11:39:47 -0800
Received: by morpheus.kfu.com 
        (8.8.5//ident-1.0) id LAA00407; Tue, 18 Mar 1997 11:39:47 -0800 (PST) 
Message-Id: <199703181939.LAA00407@morpheus.kfu.com>
Date: Tue, 18 Mar 1997 11:39:47 -0800 (PST)
From: nsayer@quack.kfu.com
Reply-To: nsayer@quack.kfu.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: mv to / trailed dirs prints odd error message
X-Send-Pr-Version: 3.2

>Number:         3025
>Category:       bin
>Synopsis:       mv to / trailed dirs prints odd error message
>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:   Tue Mar 18 11:40:02 PST 1997
>Closed-Date:    Mon May 25 15:48:29 PDT 1998
>Last-Modified:  Mon May 25 15:51:23 PDT 1998
>Originator:     Nick Sayer
>Release:        FreeBSD 2.2-RELEASE i386
>Organization:
just me
>Environment:

>Description:

When a directory is specified as the last argument to mv (that is,
move one or more files into the directory named) and it has a trailing
slash, then error messages will have two ajacent '/' characters.

>How-To-Repeat:

In a directory where 'kernel' does not exist:

# mv kernel /
mv: rename kernel to //kernel: No such file or directory

Another example:

# mv dlakjlkjdsalsjd /tmp/
mv: rename dlakjlkjdsalsjd to /tmp//dlakjlkjdsalsjd: No such file or directory

>Fix:
	
Perhaps a special case for moving files to directories specified with
a trailing /

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon May 25 15:48:29 PDT 1998 
State-Changed-Why:  
I committed a patch to -stable and -current.  Thanks 
for the report! 
>Unformatted:
