tags 425421 + upstream
thanks
hi,
On Mon, May 21, 2007 at 08:26:12AM -0700, Bill Brelsford wrote:
> The command "di -sn" leaves the output unsorted (in mtab order).
> But "di -sn -t", while correctly adding a totals line, also sorts
> the output by special device name (as if called with "di -ss -t").
>
> This problem does not occur in etch (4.9.dfsg.1-1).
hm.. im not sure if this is a bug or a feature ;)
> if ((flags & DI_F_TOTAL) == DI_F_TOTAL &&
> (flags & DI_F_NO_HEADER) != DI_F_NO_HEADER)
> {
> /* in order to find the main pool entry, */
> /* we must have the array sorted by special device name */
> tempSortType = sortType;
> sortType = DI_SORT_SPECIAL;
^^^^^^^^^^^^^^^^^^^^^^^^^^
it seems like the sorting is necessary here. I have however forwarded
your bugreport to upstream, lets see what he thinks.
bye,
- michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]