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

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
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 © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.