summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-06 12:50:55 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-06-06 12:50:55 +0000
commit6d3325f804a5a83724d4f55c055283357b2700fd (patch)
tree0980d623e38058b528b7bdf362f4fcbb52313e71 /contrib
parentba1d6badda5e96b0282b120d2cfd9f67c9d01d13 (diff)
downloadgcc-6d3325f804a5a83724d4f55c055283357b2700fd.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188265 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/mklog2
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 65c5343bca0..8c21a8a6bad 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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):
diff --git a/contrib/mklog b/contrib/mklog
index 70308ab44a2..a874c7215c5 100755
--- a/contrib/mklog
+++ b/contrib/mklog
@@ -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);