dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d572a9d
)
Add a newline to the diff temp files to remove the annoying message about it
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 23 Sep 2004 02:30:56 +0000
(
02:30
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 23 Sep 2004 02:30:56 +0000
(
02:30
+0000)
maintenance/parserTests.php
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.php
b/maintenance/parserTests.php
index
96f5e53
..
e88d0de
100644
(file)
--- a/
maintenance/parserTests.php
+++ b/
maintenance/parserTests.php
@@
-182,7
+182,7
@@
class ParserTest {
function dumpToFile( $data, $filename ) {
$file = fopen( $filename, "wt" );
- fwrite( $file,
$data
);
+ fwrite( $file,
rtrim( $data ) . "\n"
);
fclose( $file );
}
}