mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 18:02:20 +00:00
Don't avoid our *sprintf replacements.
Don't let systems with broken printf(3) avoid our replacements via asprintf(3)/vasprintf(3) calling libc internally. From djm@
This commit is contained in:
parent
e526127cbd
commit
797cdd9c84
@ -19,6 +19,15 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
/*
|
||||
* Don't let systems with broken printf(3) avoid our replacements
|
||||
* via asprintf(3)/vasprintf(3) calling libc internally.
|
||||
*/
|
||||
#if defined(BROKEN_SNPRINTF)
|
||||
# undef HAVE_VASPRINTF
|
||||
# undef HAVE_ASPRINTF
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_VASPRINTF
|
||||
|
||||
#include <errno.h>
|
||||
|
Loading…
Reference in New Issue
Block a user