The new mklog script prints three spaces after the date part, which is wrong.
authorMarek Polacek <polacek@redhat.com>
Wed, 6 Jun 2012 12:50:55 +0000 (12:50 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Wed, 6 Jun 2012 12:50:55 +0000 (08:50 -0400)
The new mklog script prints three spaces after the date part, which
is wrong.  Thus fixed by adjusting the split pattern.  Tested manually.

2012-05-31  Marek Polacek  <polacek@redhat.com>

       * mklog: Prevent printing three spaces after the date.

From-SVN: r188265

contrib/ChangeLog
contrib/mklog

index 65c5343bca074641eb8beb50df4ee3fcb645b95b..8c21a8a6bad6624d754bed48cae30bd6944dd197 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-31  Marek Polacek  <polacek@redhat.com>
+
+       * mklog: Prevent printing three spaces after the date.
+
 2012-06-04   Diego Novillo  <dnovillo@google.com>
 
        * testsuite-management/validate_failures.py (GetResults):
index 70308ab44a26dae8adc712259507f8cb110b9f4e..a874c7215c554e274bd33dbff8250d972fe20961 100755 (executable)
@@ -29,7 +29,7 @@
 # Change these settings to reflect your profile.
 $username = $ENV{'USER'};
 $name = `finger $username | grep -o 'Name: .*'`;
-@n = split(/:/, $name);
+@n = split(/: /, $name);
 $name = @n[1]; chop($name);
 $addr = $username . "\@my.domain.org";
 $date = `date +%Y-%m-%d`; chop ($date);