SOURCES: arts-extension_loader.patch - fix regex filter.
pluto
pluto at pld-linux.org
Mon Feb 11 23:11:56 CET 2008
Author: pluto Date: Mon Feb 11 22:11:56 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix regex filter.
---- Files affected:
SOURCES:
arts-extension_loader.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/arts-extension_loader.patch
diff -u SOURCES/arts-extension_loader.patch:1.2 SOURCES/arts-extension_loader.patch:1.3
--- SOURCES/arts-extension_loader.patch:1.2 Tue Jan 9 20:40:25 2007
+++ SOURCES/arts-extension_loader.patch Mon Feb 11 23:11:50 2008
@@ -30,7 +30,7 @@
+ std::string p = dir + "/" + name;
+ if ( boost::filesystem::exists( p + ".so" ) )
+ return ( p + ".so" );
-+ boost::regex re( p + ".*so\\..+", boost::regex::extended );
++ boost::regex re( p + "(-.+){0,1}\\..+", boost::regex::extended );
+ for ( boost::filesystem::directory_iterator i( dir );
+ i != boost::filesystem::directory_iterator(); ++i )
+ {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/arts-extension_loader.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list