зеркало из https://github.com/Azure/sonic-openssh.git
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:
Родитель
e526127cbd
Коммит
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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче