mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-17 19:43:50 +00:00
[PR #1185] [IMPROVEMENT] Improve and simplify dprintf implementation #1977
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/CCExtractor/ccextractor/pull/1185
State: closed
Merged: Yes
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
It now returns a value like the rest of the printf family. It doesn't
brute force the amount of memory that needs to be allocated.
It also removes a warning.
I do not believe there should be any performance concerns with this
implementation as it is what
glibcdoes (if anything it probably improves performance by a lot):https://code.woboq.org/userspace/glibc/libio/iovdprintf.c.html