Re: com php-src: Fixed warning "No new line at end of file": Zend/zend_vm_gen.php Zend/zend_vm_opcodes.h
| From: | Laruence | Date: | Fri, 24 Jan 2014 02:59:56 +0000 |
| Subject: | Re: com php-src: Fixed warning "No new line at end of file": Zend/zend_vm_gen.php Zend/zend_vm_opcodes.h | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-75773@lists.php.net to get a copy of this message | ||
On Wed, Jan 22, 2014 at 7:58 AM, Christopher Jones
<christopher.jones@oracle.com> wrote:
>
>
> On 12/26/2013 01:45 AM, Xinchen Hui wrote:
>>
>> Commit: d6713f39898cc25ff51dca83ab233271937724e4
>> Author: Xinchen Hui <laruence@php.net> Thu, 26 Dec 2013
>> 17:45:37 +0800
>> Parents: ef56cfb9916bb24ad2f44deb2125b2d6fe3499d2
>> Branches: master
>>
>> Link:
>>
>> http://git.php.net/?p=php-src.git;a=commitdiff;h=d6713f39898cc25ff51dca83ab233271937724e4
>>
>> Log:
>> Fixed warning "No new line at end of file"
>
>
> Laruence,
>
> Can you merge this to PHP-5.6 too, since the warning also occurs there?
Hey:
sorry for late, I am very busy at work (end of a year)....
anyway, done.
thanks
>
> Thanks,
>
> Chris
>
>
>
>>
>> Changed paths:
>> M Zend/zend_vm_gen.php
>> M Zend/zend_vm_opcodes.h
>>
>>
>> Diff:
>> diff --git a/Zend/zend_vm_gen.php b/Zend/zend_vm_gen.php
>> index 2088bf8..12d5aa9 100644
>> --- a/Zend/zend_vm_gen.php
>> +++ b/Zend/zend_vm_gen.php
>> @@ -1216,7 +1216,7 @@ function gen_vm($def, $skel) {
>> fputs($f,"#define $op $code\n");
>> }
>>
>> - fputs($f, "\n#endif");
>> + fputs($f, "\n#endif\n");
>> fclose($f);
>> echo "zend_vm_opcodes.h generated successfully.\n";
>>
>> diff --git a/Zend/zend_vm_opcodes.h b/Zend/zend_vm_opcodes.h
>> index d334e45..ed02663 100644
>> --- a/Zend/zend_vm_opcodes.h
>> +++ b/Zend/zend_vm_opcodes.h
>> @@ -171,4 +171,4 @@ ZEND_API const char *zend_get_opcode_name(zend_uchar
>> opcode);
>> #define ZEND_FAST_RET 163
>> #define ZEND_RECV_VARIADIC 164
>>
>> -#endif
>> \ No newline at end of file
>> +#endif
>>
>>
>
> --
> christopher.jones@oracle.com http://twitter.com/ghrd
> Free PHP & Oracle book:
>
> http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html
--
Laruence Xinchen Hui
http://www.laruence.com/