Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/fmt-preserve/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Change fmt to preserve width, flags, and
precision, and change the logic of
fmt[v]print appropriately.  That
__fmtdispatch discards the flags of the
Fmt structure it receives, is broken
behaviour.  I see no present code in
sources that relies on this behaviour,
and I have been running my Plan 9 boxes
with these changes for a while (having
rebuilt the whole source tree and
kernel).  Moreover, the Go compilers
[568]g rely on the preservation of
flags.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.