winemaker: Abort on unhandled file formats
André Hentschel
nerv at dawncrow.de
Thu Mar 8 15:29:29 CST 2012
---
tools/winemaker | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tools/winemaker b/tools/winemaker
index b6e5e7c..80305d1 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -977,6 +977,9 @@ sub source_scan_project_file($$$)
push @{@$project_settings[$T_CEXTRA]},$prj_target_cflags;
push @{@$project_settings[$T_CXXEXTRA]},$prj_target_cflags;
push @{@$project_settings[$T_DEFINES]},$prj_target_defines;
+ } else {
+ print STDERR "File format not supported for file: $filename\n";
+ return;
}
# Add this project to the project list, except for
--
Best Regards, André Hentschel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120308/87b36116/attachment.ksh>
More information about the wine-patches
mailing list