Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 14:23:19 +0100
From:      Anton Berezin <tobez@tobez.org>
To:        Josef Karthauser <joe@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: CVSROOT log_accum.pl
Message-ID:  <20011114142319.B79325@heechee.tobez.org>
In-Reply-To: <200111132232.fADMWEm35517@freefall.freebsd.org>; from joe@FreeBSD.org on Tue, Nov 13, 2001 at 02:32:14PM -0800
References:  <200111132232.fADMWEm35517@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 13, 2001 at 02:32:14PM -0800, Josef Karthauser wrote:
> joe         2001/11/13 14:32:14 PST
> 
>   Modified files:
>     .                    log_accum.pl 
>   Log:
>   Clean up some syntax for clarity.

-	last if  $#text == -1;
-	last if join(" ", @log_lines) eq join(" ", @text);
+	last if @text;
+	last if "@log_lines" eq "@text";

Should not this be:

    last unless @text;
    last if "@log_lines" eq "@text";

=Anton.
-- 
| Anton Berezin                |      FreeBSD: The power to serve |
| catpipe Systems ApS   _ _ |_ |           http://www.FreeBSD.org |
| tobez@catpipe.net    (_(_||  |                tobez@FreeBSD.org | 
| +45 7021 0050                |         Private: tobez@tobez.org |

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011114142319.B79325>