version 1.28, 2014/10/19 18:24:58 |
version 1.29, 2014/10/20 22:13:11 |
|
|
* If listing each file, or a non-directory file was |
* If listing each file, or a non-directory file was |
* the root of a traversal, display the total. |
* the root of a traversal, display the total. |
*/ |
*/ |
if (listfiles && p->fts_level <= maxdepth) |
if ((listfiles && p->fts_level <= maxdepth) || |
|
p->fts_level == FTS_ROOTLEVEL) |
prtout(howmany(p->fts_statp->st_blocks, |
prtout(howmany(p->fts_statp->st_blocks, |
blocksize), p->fts_path, hflag); |
blocksize), p->fts_path, hflag); |
p->fts_parent->fts_number += p->fts_statp->st_blocks; |
p->fts_parent->fts_number += p->fts_statp->st_blocks; |