dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "parser: Document PPFrame_DOM::expand() as taking DOMNodeList"
[lhc/web/wiklou.git]
/
maintenance
/
includes
/
TextPassDumper.php
diff --git
a/maintenance/includes/TextPassDumper.php
b/maintenance/includes/TextPassDumper.php
index
2e5cc4f
..
00d7c90
100644
(file)
--- a/
maintenance/includes/TextPassDumper.php
+++ b/
maintenance/includes/TextPassDumper.php
@@
-74,14
+74,14
@@
class TextPassDumper extends BackupDumper {
protected $spawnProc = false;
/**
protected $spawnProc = false;
/**
- * @var
bool|
resource
+ * @var resource
*/
*/
- protected $spawnWrite
= false
;
+ protected $spawnWrite;
/**
/**
- * @var
bool|
resource
+ * @var resource
*/
*/
- protected $spawnRead
= false
;
+ protected $spawnRead;
/**
* @var bool|resource
/**
* @var bool|resource
@@
-97,6
+97,7
@@
class TextPassDumper extends BackupDumper {
protected $firstPageWritten = false;
protected $lastPageWritten = false;
protected $checkpointJustWritten = false;
protected $firstPageWritten = false;
protected $lastPageWritten = false;
protected $checkpointJustWritten = false;
+ /** @var string[] */
protected $checkpointFiles = [];
/**
protected $checkpointFiles = [];
/**
@@
-303,6
+304,7
@@
TEXT
$param = $split[1];
}
$fileURIs = explode( ';', $param );
$param = $split[1];
}
$fileURIs = explode( ';', $param );
+ $newFileURIs = [];
foreach ( $fileURIs as $URI ) {
switch ( $val ) {
case "file":
foreach ( $fileURIs as $URI ) {
switch ( $val ) {
case "file":
@@
-809,11
+811,11
@@
TEXT
if ( $this->spawnRead ) {
fclose( $this->spawnRead );
}
if ( $this->spawnRead ) {
fclose( $this->spawnRead );
}
- $this->spawnRead =
false
;
+ $this->spawnRead =
null
;
if ( $this->spawnWrite ) {
fclose( $this->spawnWrite );
}
if ( $this->spawnWrite ) {
fclose( $this->spawnWrite );
}
- $this->spawnWrite =
false
;
+ $this->spawnWrite =
null
;
if ( $this->spawnErr ) {
fclose( $this->spawnErr );
}
if ( $this->spawnErr ) {
fclose( $this->spawnErr );
}