vsprintf.c (dc36d6f9bb1753f3808552f3afd30eda9a7b206a) vsprintf.c (e55512504d0178983978d64d67eed1cc85826523)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Chris Torek.

--- 28 unchanged lines hidden (view full) ---

37 * SUCH DAMAGE.
38 */
39
40#include <stdio.h>
41#include <limits.h>
42#include "local.h"
43#include "xlocale_private.h"
44
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1990, 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Chris Torek.

--- 28 unchanged lines hidden (view full) ---

37 * SUCH DAMAGE.
38 */
39
40#include <stdio.h>
41#include <limits.h>
42#include "local.h"
43#include "xlocale_private.h"
44
45#undef vsprintf /* _FORTIFY_SOURCE */
46
45int
46vsprintf_l(char * __restrict str, locale_t locale,
47 const char * __restrict fmt, __va_list ap)
48{
49 int ret;
50 FILE f = FAKE_FILE;
51 FIX_LOCALE(locale);
52

--- 12 unchanged lines hidden ---
47int
48vsprintf_l(char * __restrict str, locale_t locale,
49 const char * __restrict fmt, __va_list ap)
50{
51 int ret;
52 FILE f = FAKE_FILE;
53 FIX_LOCALE(locale);
54

--- 12 unchanged lines hidden ---