bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggested enhancement to du command - show last modified date.


From: Jim Meyering
Subject: Re: Suggested enhancement to du command - show last modified date.
Date: Thu, 23 Jun 2005 17:23:27 +0200

William Brendling <address@hidden> wrote:
> The second iteration of my patch to "du" to show last modified date follows.
...

Thank you for the patch.
I've applied it, albeit with some difficulty due to changes
in leading white space and split lines caused no doubt by your
mail client.

I've made some minor additional changes:

        * src/du.c (show_date): Rename local `time_format' so as not to
        shadow the file-scoped global by that name.
        (show_date): Add a FIXME comment.

        * src/du.c: Include hard-locale.h and strftime.h.
        (DUINFO_INI, DUINFO_SET, DUINFO_ADD):
        Enclose body in `do {...} while (0)', not just `{...}'.
        Adjust uses (add semicolons).
        Adjust formatting, indentation.
        (usage): Tweak formatting to maintain more or less constant indentation.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]