From alex@cichlids.com  Tue Apr 11 04:04:12 2000
Return-Path: <alex@cichlids.com>
Received: from mail.surf1.de (mail.Surf1.de [194.25.165.21])
	by hub.freebsd.org (Postfix) with ESMTP id C4E4537B8EC
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Apr 2000 04:04:10 -0700 (PDT)
	(envelope-from alex@cichlids.com)
Received: from cichlids.com (pC19F544E.dip0.t-ipconnect.de [193.159.84.78])
	by mail.surf1.de (8.9.3/8.9.3) with ESMTP id MAA07360
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Apr 2000 12:03:46 +0200
Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10])
	by cichlids.com (Postfix) with ESMTP id 4BDC0AC2C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 11 Apr 2000 13:07:08 +0200 (CEST)
Received: (from alex@localhost)
	by cichlids.cichlids.com (8.9.3/8.9.3) id NAA04498;
	Tue, 11 Apr 2000 13:04:06 +0200 (CEST)
	(envelope-from alex)
Message-Id: <200004111104.NAA04498@cichlids.cichlids.com>
Date: Tue, 11 Apr 2000 13:04:06 +0200 (CEST)
From: alex@big.endian.de
Sender: alex@cichlids.com
Reply-To: alex@cichlids.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: ld -lF bug
X-Send-Pr-Version: 3.2

>Number:         17924
>Category:       bin
>Synopsis:       ld -lF bug
>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 Apr 11 04:10:02 PDT 2000
>Closed-Date:    Tue Apr 11 06:00:32 PDT 2000
>Last-Modified:  Tue Apr 11 06:02:17 PDT 2000
>Originator:     Alexander Langer
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
fu
>Environment:

HEAD

>Description:

ls -lF adds two slashes at the end of a directory:

alex:~ $ ls -dlF /
drwxr-xr-x  22 root  wheel  1024  4 Apr 22:57 //

>How-To-Repeat:

see above.

>Fix:

This is only a bug report, since I really have no time to fix it now.
this is kinda trivial to fix, so someone else might want to do it.

I'll do in three weeks, if noone else did it until then.

Alex

>Release-Note:
>Audit-Trail:

From: Alexander Langer <alex@big.endian.de>
To: Anatoly Vorobey <mellon@pobox.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/17924: ld -lF bug
Date: Tue, 11 Apr 2000 14:30:13 +0200

 Thus spake Anatoly Vorobey (mellon@pobox.com):
 
 > > ls -lF adds two slashes at the end of a directory:
 > I don't know that this is a bug. '/' is the name of the "file",
 > and the other '/' is the mode char. To "fix" this, one would have
 > to special-case the root directory.
 
 No. It's not a special case. it's a bug:
 
 alex:~ $ ls -ldF Mail
 drwx------  8 alex  alex  512 11 Apr 12:32 Mail/
 alex:~ $ ls -ldF Mail/
 drwx------  8 alex  alex  512 11 Apr 12:32 Mail//
 
 Alex
 
 -- 
 I need a new ~/.sig.
 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Tue Apr 11 06:00:32 PDT 2000 
State-Changed-Why:  
I can't find another UNIX flavour that _doesn't_ show the root 
directory (/) as "//" when asked to list it with a type 
indicator (also /).  This isn't a bug at all.  Have a look at 
the manual page for ls(1), particularly its description of the 
-F flag. 
>Unformatted:
