[tools/winetest]: Allow spaces and numbers in version information

Vitaliy Margolen wine-patch at kievinfo.com
Thu Oct 20 11:21:59 CDT 2005


That makes Ivan's 2003 R2 tests to go in.

Vitaliy Margolen

changelog:
 - Allow spaces and numbers in version information
-------------- next part --------------
Index: winetest/dissect
===================================================================
RCS file: /home/wine/tools/winetest/dissect,v
retrieving revision 1.16
diff -u -p -r1.16 dissect
--- winetest/dissect	11 Jan 2005 15:59:33 -0000	1.16
+++ winetest/dissect	20 Oct 2005 16:20:17 -0000
@@ -94,7 +94,7 @@ close BINFO or mydie "error writing $tmp
 my ($wine, $version, $major, $minor, $plid);
 /^Operating system version:\r?$/ or mydie "no OS header: $_";
 open OSVER, ">$tmpdir/version.txt" or mydie "can't write $tmpdir/version.txt: $!";
-while (($_ = <IN>) =~ /^\s*([a-zA-Z]+)=(.*?)\r?$/) {
+while (($_ = <IN>) =~ /^\s*([0-9a-zA-Z ]+)=(.*?)\r?$/) {
     print OSVER "$1=$2\n";
     if      ($1 eq "bRunningUnderWine") {
         $wine = $2;


More information about the wine-patches mailing list