Skip to content

"%p" does not honour right justification if pointer is null #201

@ls83tda

Description

@ls83tda

printf("%8p", (void *)0) outputs

(nil)

rather than

(nil)

because out_rev_() only right-justifies if FLAGS_ZEROPAD is 0. Suggest

out_rev_(output, ")lin(", 5, width, flags & ~FLAGS_ZEROPAD) :

Metadata

Metadata

Assignees

Labels

resolved-on-developA changeset fixing this issue has been commiutted to the development branch

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions