Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 205782

Summary: ruby.eclass - unsafe locale-dependent patterns usage
Product: Gentoo Linux Reporter: Jakub Moc (RETIRED) <jakub>
Component: EclassesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jakub Moc (RETIRED) gentoo-dev 2008-01-14 12:18:53 UTC
-for i in ChangeLog* [A-Z][A-Z]* ; do
+for i in ChangeLog* [:upper:][:upper:]* ; do

is probably what you want.
Comment 1 Hans de Graaff gentoo-dev Security 2008-01-20 07:04:30 UTC
Additional quoting is needed to make this work:

  for i in ChangeLog* [[:upper:]][[:upper:]]* ; do

This also re-fixes #129526 in a bit nicer way, thanks.