Francois Gouget : winetest: We may not have a report tag for the error message.
Alexandre Julliard
julliard at winehq.org
Wed Feb 8 15:23:06 CST 2017
Module: tools
Branch: master
Commit: 0a55c3acb2097e16acef12104fc26d9fcb2c7cca
URL: http://source.winehq.org/git/tools.git/?a=commit;h=0a55c3acb2097e16acef12104fc26d9fcb2c7cca
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Wed Feb 8 08:08:06 2017 +0100
winetest: We may not have a report tag for the error message.
For instance if the commit id is not valid we issue the error message
before $tag is set.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
winetest/dissect | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winetest/dissect b/winetest/dissect
index ccb6d1d..f5b6744 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -63,7 +63,7 @@ sub mydie(@) {
print STDERR "$name0:error: unable to rename '$tmpdir' to '$errdir': $!\n";
exit 3;
}
- my $label = substr($tag,1) || "???";
+ my $label = $tag ? substr($tag, 1) : "<notag>";
if (open ERR, ">$errdir/error")
{
print ERR "$label: ", @_;
More information about the wine-cvs
mailing list