[Scummvm-git-logs] scummvm master -> d0eba826079ade634d2535837e8fbbbfc8a80fbf
sev-
sev at scummvm.org
Sat Jul 31 16:07:23 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d0eba82607 DEVTOOLS: COMPANION: Avoid concurrency in HFSUTILS execution
Commit: d0eba826079ade634d2535837e8fbbbfc8a80fbf
https://github.com/scummvm/scummvm/commit/d0eba826079ade634d2535837e8fbbbfc8a80fbf
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-07-31T18:06:55+02:00
Commit Message:
DEVTOOLS: COMPANION: Avoid concurrency in HFSUTILS execution
Changed paths:
devtools/dumper-companion.pl
diff --git a/devtools/dumper-companion.pl b/devtools/dumper-companion.pl
index 309c13dd0f..da015e4c5d 100755
--- a/devtools/dumper-companion.pl
+++ b/devtools/dumper-companion.pl
@@ -107,6 +107,17 @@ sub processIso($) {
open(my $ls, "-|", "hls -1alRU");
+ my @lines;
+
+ while (<$ls>) {
+ print "LS: $_" if $verbose;
+
+ push @lines, $_;
+ }
+
+ close $ls;
+
+
my $dir = "";
my $mdir = "";
@@ -115,11 +126,10 @@ sub processIso($) {
my $numrens = 0;
my $prevlen = 0;
- while (<$ls>) {
- print "LS: $_" if $verbose;
+ for $_ (@lines) {
+ print "LINE: $_" if $verbose;
chomp;
- flush STDOUT;
if (/^:/) {
$mdir = $_;
More information about the Scummvm-git-logs
mailing list