The mklog script claims to write to stdout, but it actually modifies
the input file in-place.

OK to commit this change, which also updates the copyright dates?
diff --git a/contrib/mklog b/contrib/mklog
index fb0514f..4893e0c 100755
--- a/contrib/mklog
+++ b/contrib/mklog
@@ -1,5 +1,5 @@
 #!/usr/bin/perl
-# Copyright (C) 2012 Free Software Foundation, Inc.
+# Copyright (C) 2012-2014 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
@@ -19,7 +19,7 @@
 # Boston, MA 02110-1301, USA.
 
 # This script parses a .diff file generated with 'diff -up' or 'diff -cp'
-# and writes a skeleton ChangeLog file to stdout. It does not try to be
+# and adds a skeleton ChangeLog file to the file. It does not try to be
 # very smart when parsing function names, but it produces a reasonable
 # approximation.
 #

Reply via email to