[BusyBox 0006164]: du does not print identical directory name multiple times (mismatch with coreutils)
bugs at busybox.net
bugs at busybox.net
Wed Nov 12 22:20:35 UTC 2008
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=6164
======================================================================
Reported By: pgbovine
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 6164
Category: Standards Compliance
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 11-11-2008 11:41 PST
Last Modified: 11-12-2008 14:20 PST
======================================================================
Summary: du does not print identical directory name multiple
times (mismatch with coreutils)
Description:
Coreutils behavior:
$ mkdir A
$ du A
4 A
$ du A A
4 A
4 A
$ du A A A
4 A
4 A
4 A
Busybox behavior:
$ mkdir A
$ ./busybox du A
4 A
$ ./busybox du A A
4 A
$ ./busybox du A A A
4 A
Busybox doesn't duplicate the directory entries. Perhaps this is a
feature and coreutils is actually behaving incorrectly?
Note that when A is a REGULAR FILE (rather than a directory), coreutils
and busybox behave identically and duplicate the entries:
$ touch A
$ ./busybox du A
0 A
$ ./busybox du A A
0 A
0 A
$ ./busybox du A A A
0 A
0 A
0 A
======================================================================
----------------------------------------------------------------------
vda - 11-11-08 13:17
----------------------------------------------------------------------
Try attached 6.patch
----------------------------------------------------------------------
vda - 11-12-08 14:20
----------------------------------------------------------------------
Fixed in svn
Issue History
Date Modified Username Field Change
======================================================================
11-11-08 11:41 pgbovine New Issue
11-11-08 11:41 pgbovine Status new => assigned
11-11-08 11:41 pgbovine Assigned To => BusyBox
11-11-08 13:17 vda File Added: 6.patch
11-11-08 13:17 vda Note Added: 0015424
11-12-08 14:20 vda Status assigned => closed
11-12-08 14:20 vda Note Added: 0015624
======================================================================
More information about the busybox-cvs
mailing list