9e778b044c
- removed 0001-bash50-001.patch to 0018-bash50-018.patch - added 0001-bash51-001.patch, 0002-bash51-002.patch, 0003-bash51-003.patch, 0004-bash51-004.patch - moved 0019-input.h-add-missing-include-on-stdio.h.patch to 0005-input.h-add-missing-include-on-stdio.h.patch - removed 0020-locale.c-fix-build-without-wchar.patch (superseded by upstream commit) - added 0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch to fix typo from upstream commit (see previous patch) - added 0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
47 lines
1.6 KiB
Diff
47 lines
1.6 KiB
Diff
From a60ab1e5e88863acf9b0e9bcaa7919bbf093da05 Mon Sep 17 00:00:00 2001
|
||
From: Peter Seiderer <ps.report@gmx.net>
|
||
Date: Thu, 11 Mar 2021 20:55:52 +0100
|
||
Subject: [PATCH] glob: fix dequote_pathname vs. udequote_pathname
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
Fixes:
|
||
|
||
glob.c:123:28: error: static declaration of ‘udequote_pathname’ follows non-static declaration
|
||
123 | # define dequote_pathname udequote_pathname
|
||
| ^~~~~~~~~~~~~~~~~
|
||
glob.c:125:13: note: in expansion of macro ‘dequote_pathname’
|
||
125 | static void dequote_pathname PARAMS((char *));
|
||
| ^~~~~~~~~~~~~~~~
|
||
glob.c:118:6: note: previous declaration of ‘udequote_pathname’ was here
|
||
118 | void udequote_pathname PARAMS((char *));
|
||
| ^~~~~~~~~~~~~~~~~
|
||
|
||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||
---
|
||
lib/glob/glob.c | 3 +--
|
||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||
|
||
diff --git a/lib/glob/glob.c b/lib/glob/glob.c
|
||
index eb6277f..c903b15 100644
|
||
--- a/lib/glob/glob.c
|
||
+++ b/lib/glob/glob.c
|
||
@@ -117,12 +117,11 @@ static int mbskipname PARAMS((char *, char *, int));
|
||
#endif
|
||
void udequote_pathname PARAMS((char *));
|
||
#if HANDLE_MULTIBYTE
|
||
-void wcdequote_pathname PARAMS((wchar_t *));
|
||
+static void wcdequote_pathname PARAMS((wchar_t *));
|
||
static void wdequote_pathname PARAMS((char *));
|
||
#else
|
||
# define dequote_pathname udequote_pathname
|
||
#endif
|
||
-static void dequote_pathname PARAMS((char *));
|
||
static int glob_testdir PARAMS((char *, int));
|
||
static char **glob_dir_to_array PARAMS((char *, char **, int));
|
||
|
||
--
|
||
2.30.1
|
||
|