vsprintf.c (71bd9341011f626d692aabe024f099820f02c497) vsprintf.c (9dbbc3b9d09d6deba9f3b9e1d5b355032ed46a75)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * linux/lib/vsprintf.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */

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

3412 long long s;
3413 unsigned long long u;
3414 } val;
3415 s16 field_width;
3416 bool is_sign;
3417
3418 while (*fmt) {
3419 /* skip any white space in format */
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * linux/lib/vsprintf.c
4 *
5 * Copyright (C) 1991, 1992 Linus Torvalds
6 */
7
8/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */

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

3412 long long s;
3413 unsigned long long u;
3414 } val;
3415 s16 field_width;
3416 bool is_sign;
3417
3418 while (*fmt) {
3419 /* skip any white space in format */
3420 /* white space in format matchs any amount of
3420 /* white space in format matches any amount of
3421 * white space, including none, in the input.
3422 */
3423 if (isspace(*fmt)) {
3424 fmt = skip_spaces(++fmt);
3425 str = skip_spaces(str);
3426 }
3427
3428 /* anything that is not a conversion must match exactly */

--- 265 unchanged lines hidden ---
3421 * white space, including none, in the input.
3422 */
3423 if (isspace(*fmt)) {
3424 fmt = skip_spaces(++fmt);
3425 str = skip_spaces(str);
3426 }
3427
3428 /* anything that is not a conversion must match exactly */

--- 265 unchanged lines hidden ---