[Mesa-dev] [PATCH] gallium/util: Stop bundling our snprintf implementation.

Brian Paul brianp at vmware.com
Wed Jul 22 09:58:18 PDT 2015


On 07/22/2015 10:15 AM, Jose Fonseca wrote:
> Use MSVCRT functions instead.  Their semantics are slightly
> different but they can be made to work as expected.
>
> Also, use the same code paths for both MSVCRT and MinGW.
>
> No testing yet.  Just built.
>
> https://bugs.freedesktop.org/show_bug.cgi?id=91418
> ---
>   src/gallium/auxiliary/Makefile.sources  |    1 -
>   src/gallium/auxiliary/util/u_snprintf.c | 1480 -------------------------------
>   src/gallium/auxiliary/util/u_string.h   |   33 +-
>   3 files changed, 30 insertions(+), 1484 deletions(-)
>   delete mode 100644 src/gallium/auxiliary/util/u_snprintf.c
>

Looks OK to me.

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list