Mailing List Archive

Re: [exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim/exim-src/src exicyclog.src
Apologies if I'm being foolish (no caffeine yet), but this patch looks
wrong to my untrained eye ...

On Wed, 30 Jan 2008, Nigel Metheringham wrote:

> nm4 2008/01/30 20:09:24 GMT
>
> Modified files:
> exim-doc/doc-txt ChangeLog
> exim-src/src exicyclog.src
> Log:
> exicyclog additions. Fixes: #602
[...]
> Index: exicyclog.src
> ===================================================================
> RCS file: /home/cvs/exim/exim-src/src/exicyclog.src,v
> retrieving revision 1.5
> retrieving revision 1.6
> diff -u -r1.5 -r1.6
> --- exicyclog.src 16 Mar 2006 11:51:10 -0000 1.5
> +++ exicyclog.src 30 Jan 2008 20:09:24 -0000 1.6
[...]
> @@ -235,6 +241,9 @@
> if [ -f $rejectlog.$keept ]; then $rm $rejectlog.$keept; fi;
> if [ -f $rejectlog.$keept.$suffix ]; then $rm $rejectlog.$keept.$suffix; fi;
>
> +if [ -f $paniclog.$keept ]; then $rm $rejectlog.$keept; fi;
> +if [ -f $paniclog.$keept.$suffix ]; then $rm $rejectlog.$keept.$suffix; fi;
> +
> # Now rename all the previous old files by increasing their numbers by 1.
> # When the number is less than 10, insert a leading zero.
>
[...]

Surely that's removing the wrong files?

Regards,
Richard



--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##