From 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:20:04 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- .../tcsh/files/tcsh-6.17.02-multibyte.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch (limited to 'meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch') diff --git a/meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch b/meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch new file mode 100644 index 0000000000..3dd420a0e3 --- /dev/null +++ b/meta-oe/recipes-extended/tcsh/files/tcsh-6.17.02-multibyte.patch @@ -0,0 +1,18 @@ +Author: Jean-Luc Leger +Description: fix broken globbing expansion +Debian-Bug: #603545 +Index: tcsh-6.18.01/tc.str.c +=================================================================== +--- tcsh-6.18.01.orig/tc.str.c 2012-01-10 13:34:31.000000000 -0800 ++++ tcsh-6.18.01/tc.str.c 2013-02-26 13:12:13.429153489 -0800 +@@ -122,8 +122,9 @@ + #else + ret = mbtowc(&tmp, s, n); + #endif +- if (ret > 0) { ++ if (ret >= 0) + *pwc = tmp; ++ if (ret >= 0) { + #if defined(UTF16_STRINGS) && defined(HAVE_MBRTOWC) + if (tmp >= 0xd800 && tmp <= 0xdbff) { + /* UTF-16 surrogate pair. Fetch second half and compute -- cgit v1.2.3-54-g00ecf