GNU bug report logs - #58966
[Trunk] Xcode 14.1+ (and macOS 13.0+) deprecate sprintf()

Previous Next

Package: emacs;

Reported by: Jacob Faibussowitsch <jacob.fai <at> gmail.com>

Date: Wed, 2 Nov 2022 13:57:02 UTC

Severity: minor

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: rms <at> gnu.org
Cc: gerd.moellmann <at> gmail.com, jacob.fai <at> gmail.com, Paul Eggert <eggert <at> cs.ucla.edu>, 58966 <at> debbugs.gnu.org
Subject: bug#58966: [Trunk] Xcode 14.1+ (and macOS 13.0+) deprecate sprintf()
Date: Sat, 5 Nov 2022 17:26:18 +0100
Richard Stallman <rms <at> gnu.org> writes:

> We could switch to snprintf, and define snprintf to call sprintf
> in systems where snprintf isn't available.

snprintf is part of the C99 standard, so I think we can always rely on
it being there.  Switching sounds like a good idea.




This bug report was last modified 2 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.