From: Paul Eggert Date: Thu, 3 Nov 2022 18:43:45 +0000 (-0700) Subject: doc: mention macOS war on sprintf X-Git-Tag: v1.0~1971 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=4840511133bb57f4997d36a253b62bd48c0c27ca;p=gnulib.git doc: mention macOS war on sprintf * doc/posix-functions/sprintf.texi, doc/posix-functions/vsnprintf.texi: Mention that these functions are deprecated. --- 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