Division by zero in innreport

John F. Morse inn at xanadu-bbs.net
Sat Jan 7 04:03:09 UTC 2012


Hi Julien,


> Could you please try the patch I attach to this mail?
> Just apply it against <pathbin>/innreport.
> 
> 
> Alexander, could you please also try it on Albasani so that we verify 
> that your HTML reports are properly updated the following day?
> 
> Thanks beforehand to both of you,


Thanks to you, Julien.

Patch applied to one server.

We'll look at the results after midnight.

news at n102:/usr/lib/news/bin$ patch -b --verbose innreport innreport_patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- innreport	2010-08-01 12:07:53.000000000 +0200
|+++ innreport	2012-01-07 00:24:00.000000000 +0100
--------------------------
Patching file innreport using Plan A...
Hunk #1 succeeded at 95.
Hunk #2 succeeded at 339.
Hunk #3 succeeded at 365.
Hunk #4 succeeded at 445.
Hunk #5 succeeded at 471.
Hunk #6 succeeded at 534.
Hunk #7 succeeded at 544.
Hunk #8 succeeded at 569.
Hunk #9 succeeded at 743 (offset 5 lines).
Hunk #10 succeeded at 1119 (offset 6 lines).
done
news at n102:/usr/lib/news/bin$

-r-xr-xr-x 1 news news   97892 Jan  6 21:50 innreport
-r-xr-xr-x 1 news news   97895 Jan  6 21:50 innreport_backup
-rw-r--r-- 1 news news    8407 Jan  6 21:38 innreport_patch



-- 
John



More information about the inn-workers mailing list