You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/02 05:24:05 UTC

[jira] [Commented] (TS-3730) Fix changelog.pl for backward compatibility

    [ https://issues.apache.org/jira/browse/TS-3730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611400#comment-14611400 ] 

ASF subversion and git services commented on TS-3730:
-----------------------------------------------------

Commit 7b0a57f434a9d64ce2eb81a04eef1ebc3402ccc7 in trafficserver's branch refs/heads/master from [~g-adachi]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=7b0a57f ]

TS-3730: Fix changelog.pl for backward compatibility


> Fix changelog.pl for backward compatibility
> -------------------------------------------
>
>                 Key: TS-3730
>                 URL: https://issues.apache.org/jira/browse/TS-3730
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Gota Adachi
>            Assignee: Phil Sorber
>             Fix For: 6.1.0
>
>
> make asf-dist fails by error on changelog.pl
> {code:none}
> $ cat /etc/redhat-release 
> CentOS release 6.6 (Final)
> $ make asf-dist
> ./changelog.pl 6.0.0 > CHANGELOG-6.0.0
> Can't use an undefined value as filehandle reference at ./changelog.pl line 54.
> make: *** [gen-changelog] Error 11
> {code}
> probably it works apply patch like this: 
> {code:none}
> $ git diff -U1
> diff --git a/changelog.pl b/changelog.pl
> index c3d0173..977f9ff 100755
> --- a/changelog.pl
> +++ b/changelog.pl
> @@ -51,3 +51,4 @@ sub jira_search
>    $curl->setopt(CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
> -  $curl->setopt(CURLOPT_WRITEDATA, \$resp_body);
> +  open(my $fileb, ">", \$resp_body);
> +  $curl->setopt(CURLOPT_WRITEDATA, \$fileb);
>    $curl->setopt(CURLOPT_URL, $url . $endpoint);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)