diff options
| author | Gerd Moellmann | 2001-07-20 09:59:34 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-07-20 09:59:34 +0000 |
| commit | 41848daa768e48702a61786ef672f0d6e11a34f5 (patch) | |
| tree | 929ca156fa44f18288a95220f956accba52e4cd3 /lib-src | |
| parent | 831fefca49a5b1ab3d2ec5863ec157be8ff5d28b (diff) | |
| download | emacs-41848daa768e48702a61786ef672f0d6e11a34f5.tar.gz emacs-41848daa768e48702a61786ef672f0d6e11a34f5.zip | |
(parse_changelog): Add test for defined value to
quiet warning from Perl 5.005 or above.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rwxr-xr-x | lib-src/grep-changelog | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 9125c954bb0..a9a5a2209ef 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-07-20 Juanma Barranquero <lektu@terra.es> | ||
| 2 | |||
| 3 | * grep-changelog (parse_changelog): Add test for defined value to | ||
| 4 | quiet warning from Perl 5.005 or above. | ||
| 5 | |||
| 1 | 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org> | 6 | 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org> |
| 2 | 7 | ||
| 3 | * emacsclient.c (print_help_and_exit): Fix help message for | 8 | * emacsclient.c (print_help_and_exit): Fix help message for |
diff --git a/lib-src/grep-changelog b/lib-src/grep-changelog index 15f5196c270..b264bdc23d6 100755 --- a/lib-src/grep-changelog +++ b/lib-src/grep-changelog | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #! /usr/bin/perl | 1 | #! /usr/bin/perl |
| 2 | # $Id: grep-changelog,v 1.2 2000/05/05 13:19:05 gerd Exp $ | 2 | # $Id: grep-changelog,v 1.3 2000/06/14 07:09:42 meyering Exp $ |
| 3 | 3 | ||
| 4 | # Copyright (C) 1999, 2000 Free Software Foundation, Inc. | 4 | # Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
| 5 | # | 5 | # |
| 6 | # This file is part of GNU Emacs. | 6 | # This file is part of GNU Emacs. |
| 7 | # | 7 | # |
| @@ -174,7 +174,7 @@ sub parse_changelog ($) { | |||
| 174 | $header = $line; | 174 | $header = $line; |
| 175 | 175 | ||
| 176 | # Add empty lines below the header. | 176 | # Add empty lines below the header. |
| 177 | while (($line = <IN>) && $line =~ /^\s*$/) { | 177 | while (defined($line = <IN>) && $line =~ /^\s*$/) { |
| 178 | $header = "$header$line"; | 178 | $header = "$header$line"; |
| 179 | } | 179 | } |
| 180 | } | 180 | } |