+
+ /*
+ * get the inode from the directory, so the -f flag
+ * works right.
+ */
+ stats[cnt].lstat.st_ino = dp->d_ino;
+
+ /* save name length for -C format */
+ stats[cnt].len = dp->d_namlen;
+ /* calculate number of blocks if -l format */
+ if (f_longform || f_size)
+ blocks += stats[cnt].lstat.st_blocks;
+ /* save max length if -C format */
+ if (!f_longform && !f_singlecol && maxlen < (int)dp->d_namlen)
+ maxlen = dp->d_namlen;