winemaker: Be less picky when detecting the target type
Francois Gouget
fgouget at free.fr
Mon Nov 14 05:04:26 CST 2011
On Fri, 11 Nov 2011, André Hentschel wrote:
> seen some "broken" project files which still worked with msvc but not with winemaker
> ---
> tools/winemaker | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tools/winemaker b/tools/winemaker
> index 2ee79ea..921f8ef 100755
> --- a/tools/winemaker
> +++ b/tools/winemaker
> @@ -589,16 +589,16 @@ sub source_scan_project_file($$$)
> #print $prj_name;
> next;
> } elsif (/^# TARGTYPE/) {
> - if (/[[:space:]]0x0101$/) {
> + if (/0x.*101$/) {
The various .* worry me a bit. Would something like [0-9a-fA-F]* be
permissive enough?
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
Broadcast message : fin du monde dans cinq minutes, repentez vous !
More information about the wine-devel
mailing list