mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
stdio: Disable USE_XPRINTF envar.
As xprintf has not kept up with our standard printf(3) implementation, it is becoming increasingly dangerous to continue to allow it to take over if USE_XPRINTF is defined. Remove that code, while still allowing applications which know about xprintf to select it. Reviewed by: phk Differential Revision: https://reviews.freebsd.org/D46765
This commit is contained in:
parent
cf73401c4f
commit
d2c2d5f494
1 changed files with 0 additions and 2 deletions
|
|
@ -450,8 +450,6 @@ __vfprintf(FILE *fp, locale_t locale, int serrno, const char *fmt0, va_list ap)
|
|||
val = GETARG (int); \
|
||||
}
|
||||
|
||||
if (__use_xprintf == 0 && getenv("USE_XPRINTF"))
|
||||
__use_xprintf = 1;
|
||||
if (__use_xprintf > 0)
|
||||
return (__xvprintf(fp, fmt0, ap));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue