Re: [Mesa-dev] [PATCH mesa 09/13] util: use standard name for sprintf()

2018-11-21 Thread Emil Velikov
On 2018/11/20, Eric Engestrom wrote: > static inline void > PRINTFLIKE(2, 3) > util_sprintf(char *str, const char *format, ...) The docs [1] seem pretty clear that: a) overlap results in undefined behaviour, and b) the function returns the correct value HTH Emil [1] https://docs.micro

[Mesa-dev] [PATCH mesa 09/13] util: use standard name for sprintf()

2018-11-20 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/gallium/auxiliary/postprocess/pp_mlaa.c | 2 +- src/gallium/auxiliary/util/u_debug_describe.c | 22 +-- .../drivers/freedreno/freedreno_batch.c | 2 +- src/gallium/drivers/svga/svga_msg.c | 2 +- src/gallium/drivers/svga/s