|
From: | Richard Henderson |
Subject: | Re: [PATCH 3/9] disas/riscv: Replace sprintf() by snprintf() |
Date: | Thu, 11 Apr 2024 14:12:48 -0700 |
User-agent: | Mozilla Thunderbird |
On 4/11/24 03:43, Philippe Mathieu-Daudé wrote:
sprintf() is deprecated on Darwin since macOS 13.0 / XCode 14.1, resulting in painful developper experience. Use snprintf() instead. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- disas/riscv.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
Ug. Repeated strlen+strncat? All of format_inst should be rewritten, probably using GString. r~
[Prev in Thread] | Current Thread | [Next in Thread] |