aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rwxr-xr-xlib-src/grep-changelog4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib-src/grep-changelog b/lib-src/grep-changelog
index 15a3d3c99d5..455d2cea5a8 100755
--- a/lib-src/grep-changelog
+++ b/lib-src/grep-changelog
@@ -1,5 +1,5 @@
1#! /usr/bin/perl 1#! /usr/bin/perl
2# $Id: grep-changelog,v 1.4 2001/07/20 09:59:19 gerd Exp $ 2# $Id: grep-changelog,v 1.5 2001/07/20 10:02:06 gerd Exp $
3 3
4# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. 4# Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
5# 5#
@@ -183,6 +183,8 @@ sub parse_changelog ($) {
183 } 183 }
184 } 184 }
185 185
186 last unless defined $line;
187
186 if ($line =~ /^\s*\*/) { 188 if ($line =~ /^\s*\*/) {
187 # LINE is the first line of a ChangeLog entry. Print 189 # LINE is the first line of a ChangeLog entry. Print
188 # previous entry if it matches. 190 # previous entry if it matches.