[BusyBox 0006214]: dirname does not eliminate duplicate '/' character (mismatch with coreutils)

bugs at busybox.net bugs at busybox.net
Tue Nov 11 21:01:56 UTC 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=6214 
====================================================================== 
Reported By:                pgbovine
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   6214
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-11-2008 13:01 PST
Last Modified:              11-11-2008 13:01 PST
====================================================================== 
Summary:                    dirname does not eliminate duplicate '/' character
(mismatch with coreutils)
Description: 
Coreutils behavior:

$ dirname '//'
/

Busybox behavior:

$ ./busybox dirname '//'
//


Note that both behave identically when given more slashes, e.g.,:

$ dirname '/////' # coreutils
/

$ ./busybox dirname '/////'
/

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-11-08 13:01  pgbovine       New Issue                                    
11-11-08 13:01  pgbovine       Status                   new => assigned     
11-11-08 13:01  pgbovine       Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list