Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
tcsh
tcsh-6.17.02-multibyte.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tcsh-6.17.02-multibyte.patch of Package tcsh
Author: Jean-Luc Leger <reiga@dspnet.fr.eu.org> Description: fix broken globbing expansion Debian-Bug: #603545 --- a/tc.str.c +++ b/tc.str.c @@ -104,8 +104,9 @@ rt_mbtowc(Char *pwc, const char *s, size_t n) memset (&mb, 0, sizeof mb); ret = mbrtowc(&tmp, s, n, &mb); - if (ret > 0) { + if (ret >= 0) *pwc = tmp; + if (ret > 0) { #ifdef UTF16_STRINGS if (tmp >= 0xd800 && tmp <= 0xdbff) { /* UTF-16 surrogate pair. Fetch second half and compute
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor