HomeFreeBSD

liblua: Use putc instead of printf for printc

Description

liblua: Use putc instead of printf for printc

printc does not need the features or the overhead of printf. It does not
take formatting strings, and it pipes the single string argument through an
"%s" format.

Instead, use putc directly. This pipes the string through in its entirety as
a series of 'unsigned char's, generally straight to the console emulator.

Discussed with: tsoome

Details

Provenance
kevansAuthored on
Parents
rS330283: lualoader: Use global printc instead of loader.printc
Branches
Unknown
Tags
Unknown