summaryrefslogtreecommitdiffstats
path: root/gl/printf-parse.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-12-28 12:13:40 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-12-28 12:13:40 +0100
commitb0afb8fe0ff1d87165af9df61501197a06240dda (patch)
tree274ac6a96c53ef4c19ab4974ce24a06a233128c5 /gl/printf-parse.c
parent68fc05381ee5fa0aee1413118fbb3d81ca888b09 (diff)
downloadmonitoring-plugins-b0afb8fe0ff1d87165af9df61501197a06240dda.tar.gz
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/printf-parse.c')
-rw-r--r--gl/printf-parse.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gl/printf-parse.c b/gl/printf-parse.c
index a33e27a0..79b35034 100644
--- a/gl/printf-parse.c
+++ b/gl/printf-parse.c
@@ -1,5 +1,5 @@
1/* Formatted output to strings. 1/* Formatted output to strings.
2 Copyright (C) 1999-2000, 2002-2003, 2006-2024 Free Software Foundation, Inc. 2 Copyright (C) 1999-2000, 2002-2003, 2006-2025 Free Software Foundation, Inc.
3 3
4 This file is free software: you can redistribute it and/or modify 4 This file is free software: you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as 5 it under the terms of the GNU Lesser General Public License as
@@ -600,20 +600,14 @@ PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a)
600 if (signed_type == TYPE_LONGINT 600 if (signed_type == TYPE_LONGINT
601 /* For backward compatibility only. */ 601 /* For backward compatibility only. */
602 || signed_type == TYPE_LONGLONGINT) 602 || signed_type == TYPE_LONGLONGINT)
603#if HAVE_WCHAR_T
604 type = TYPE_WIDE_STRING; 603 type = TYPE_WIDE_STRING;
605#else
606 goto error;
607#endif
608 else 604 else
609 type = TYPE_STRING; 605 type = TYPE_STRING;
610 break; 606 break;
611#if HAVE_WCHAR_T
612 case 'S': 607 case 'S':
613 type = TYPE_WIDE_STRING; 608 type = TYPE_WIDE_STRING;
614 c = 's'; 609 c = 's';
615 break; 610 break;
616#endif
617 case 'p': 611 case 'p':
618 type = TYPE_POINTER; 612 type = TYPE_POINTER;
619 break; 613 break;