summaryrefslogtreecommitdiffstats
path: root/libm/x86
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2016-04-01 14:57:21 -0700
committerTom Marshall <tdm@cyngn.com>2016-04-13 11:23:18 -0700
commit98ea0860a43eb4d830f44062fd1130a68f8fc59c (patch)
treed0a07d5dff3c344959758c324cf3f0acfbb86f3a /libm/x86
parentf6164e6c266759ab0cd9e7e491326d3c0974dfbd (diff)
downloadbionic-98ea0860a43eb4d830f44062fd1130a68f8fc59c.zip
bionic-98ea0860a43eb4d830f44062fd1130a68f8fc59c.tar.gz
bionic-98ea0860a43eb4d830f44062fd1130a68f8fc59c.tar.bz2
bionic: Teach fnmatch(3) to handle UTF-8 characters in patterns
This is NOT comprehensive UTF-8 support. It is just a quick hack to make alternation work in bracket expressions so that the system file manager can find files with non-ASCII names in root mode. Bracket expressions that contain non-ASCII ranges are explicitly avoided to avoid the complexities of unicode collation rules. Things like the following will now work: fnmatch("те[с][т].jpg", "тест.jpg", 0); fnmatch("test[αβγ].txt", "testβ.txt", 0); Things like the following will still fail: fnmatch("тес[а-я].txt", "тест.txt", 0); Jira: CYNGNOS-2336 Change-Id: If38dc6692bc22d20128b0cd8a7632754a496d7fb
Diffstat (limited to 'libm/x86')
0 files changed, 0 insertions, 0 deletions