From 4840511133bb57f4997d36a253b62bd48c0c27ca Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 3 Nov 2022 11:43:45 -0700 Subject: [PATCH] doc: mention macOS war on sprintf * doc/posix-functions/sprintf.texi, doc/posix-functions/vsnprintf.texi: Mention that these functions are deprecated. --- doc/posix-functions/sprintf.texi | 3 +++ doc/posix-functions/vsprintf.texi | 3 +++ 2 files changed, 6 insertions(+) diff --git a/doc/posix-functions/sprintf.texi b/doc/posix-functions/sprintf.texi index 053f0ea11a..e63f073e0c 100644 --- a/doc/posix-functions/sprintf.texi +++ b/doc/posix-functions/sprintf.texi @@ -82,4 +82,7 @@ glibc and others, on x86, x86_64, IA-64 CPUs. When formatting an integer with grouping flag, this function inserts thousands separators even in the "C" locale on some platforms: NetBSD 5.1. +@item +The compiler warns that this function is deprecated: +macOS 13.0 @end itemize diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi index 5cbc247e27..4e30c483fe 100644 --- a/doc/posix-functions/vsprintf.texi +++ b/doc/posix-functions/vsprintf.texi @@ -82,4 +82,7 @@ glibc and others, on x86, x86_64, IA-64 CPUs. When formatting an integer with grouping flag, this function inserts thousands separators even in the "C" locale on some platforms: NetBSD 5.1. +@item +The compiler warns that this function is deprecated: +macOS 13.0 @end itemize -- 2.39.5