Source-Changes-D archive

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

Re: CVS commit: src/usr.bin/stat



Am 14.03.2024 um 21:27 schrieb Robert Elz:
>     Date:        Thu, 14 Mar 2024 20:53:13 +0100
>     From:        Roland Illig <roland.illig%gmx.de@localhost>
>     Message-ID:  <9c7513f7-97b5-4d3b-9d66-dce483af76f1%gmx.de@localhost>
>
>   | I don't think the flags '+' and '0' make sense for strings, that's why I
>   | decided to preserve existing behavior.
>
> But the change only affected things when the # flag was given.   I agree
> that + and 0 are meaningless for strings, but - isn't, and %-S would work,
> I see no reason why %#-S shouldn't work as well.
>
> Not exactly a serius problem, as clearly no-one ever seems to have
> been bothered by it, but no-one intentionally writes the code as it
> was (generating clear everything) - the ! was obviously just a thinko
> for ~.

I agree. Thank you for fixing the left-aligned output, I wrote a few
tests for these cases.

Roland



Home | Main Index | Thread Index | Old Index