ts-examine-logs-save: Do not do readdir $! check
PATCH 1/1 ts-examine-logs-save: Do not do readdir $! check
In perl 5.14 in Massachusetts, this produces this message
/home/logs/logs/109694/test-amd64-amd64-examine Bad file descriptor at ./ts-examine-logs-save line 100.
Sadly this means there is no way to tell failure apart from end of directory. This patch should be reverted when we have a fixed version of perl.
Signed-off-by Ian Jackson <[email protected]>
--- ts-examine-logs-save | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ts-examine-logs-save +1 -1
@@ -97,7 +97,7 @@ sub save_logs () { logm("saving $f"); link "$stash/$f", "$td/$f" or die "$stash $td $f $!"; } - die "$stash $!" if $!; + # die "$stash $!" if $!; closedir D; }
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel