kumquat-buildroot/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch
Peter Seiderer 80b3c51c06 package/bash: bump version to 5.1.16
- remove upstream patch level patches
  0001-bash51-001.patch
  0002-bash51-002.patch
  0003-bash51-003.patch
  0004-bash51-004.patch

- renumber remaining patches

For details see [1].

[1] http://git.savannah.gnu.org/cgit/bash.git/log

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-01-20 21:35:28 +01:00

73 lines
1.9 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 3d6b9e18506ad9daf4ec7b7d406b38d58ec88009 Mon Sep 17 00:00:00 2001
From: Peter Seiderer <ps.report@gmx.net>
Date: Thu, 11 Mar 2021 20:48:36 +0100
Subject: [PATCH] locale: fix typo local_shiftstates vs. locale_shiftstates
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes:
locale.c:94:3: error: local_shiftstates undeclared (first use in this function); did you mean locale_shiftstates?
94 | local_shiftstates = 0;
| ^~~~~~~~~~~~~~~~~
| locale_shiftstates
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
locale.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/locale.c b/locale.c
index 17ccc58..d6dd95a 100644
--- a/locale.c
+++ b/locale.c
@@ -91,7 +91,7 @@ set_default_locale ()
#if defined (HANDLE_MULTIBYTE)
locale_shiftstates = mblen ((char *)NULL, 0);
#else
- local_shiftstates = 0;
+ locale_shiftstates = 0;
#endif
}
@@ -117,7 +117,7 @@ set_default_locale_vars ()
# if defined (HANDLE_MULTIBYTE)
locale_shiftstates = mblen ((char *)NULL, 0);
# else
- local_shiftstates = 0;
+ locale_shiftstates = 0;
# endif
u32reset ();
@@ -226,7 +226,7 @@ set_locale_var (var, value)
# if defined (HANDLE_MULTIBYTE)
locale_shiftstates = mblen ((char *)NULL, 0);
# else
- local_shiftstates = 0;
+ locale_shiftstates = 0;
# endif
u32reset ();
return r;
@@ -250,7 +250,7 @@ set_locale_var (var, value)
#if defined (HANDLE_MULTIBYTE)
locale_shiftstates = mblen ((char *)NULL, 0);
#else
- local_shiftstates = 0;
+ locale_shiftstates = 0;
#endif
u32reset ();
}
@@ -391,7 +391,7 @@ reset_locale_vars ()
# if defined (HANDLE_MULTIBYTE)
locale_shiftstates = mblen ((char *)NULL, 0);
# else
- local_shiftstates = 0;
+ locale_shiftstates = 0;
# endif
u32reset ();
#endif
--
2.30.1