[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: quality/krazy2
From: Bertjan Broeksema <b.broeksema () home ! nl>
Date: 2009-05-22 14:52:51
Message-ID: 200905221652.51957.b.broeksema () home ! nl
[Download RAW message or body]
On Friday 22 May 2009 16:26:00 Allen Winter wrote:
> SVN commit 971493 by winterz:
>
> fix code that appends a newline to the end-of-file.
>
>
> M +3 -2 krazy2xml
>
>
> --- trunk/quality/krazy2/krazy2xml #971492:971493
> @@ -453,9 +453,10 @@
> $command = "$saxon -im krazy2ebn $out/result.xml $stylesheet
> component=$component module=$module submodule=$subdir > $out/index.html";
> system($command);
> # Make sure the file ends with a newline.
> - if (-f $out/index.html) {
> - open( F, ">>$f" );
> + if (-f "$out/index.html") {
> + open( F, ">>$out/index.html" );
> print F "\n";
> + close F;
> }
>
> # TODO: translate the xml reports to SQL queries and execute them.
Oops, my bad. That was nasty. Excuse moi and thanks for fixing.
Cheers,
--
Bertjan Broeksema,
KDEPIM/KPilot developer
http://bertjan.broeksemaatjes.nl
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic