Re: com php-src: Fixed warning "No new line at end of file": Zend/zend_vm_gen.php Zend/zend_vm_opcodes.h
| From: | Christopher Jones | Date: | Tue, 21 Jan 2014 23:58:14 +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 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-75736@lists.php.net to get a copy of this message | ||
On 12/26/2013 01:45 AM, Xinchen Hui wrote:
Laruence, Can you merge this to PHP-5.6 too, since the warning also occurs there? Thanks, ChrisCommit: d6713f39898cc25ff51dca83ab233271937724e4 Author: Xinchen Hui <laruence@php.net> Thu, 26 Dec 2013 17:45:37 +0800Parents: ef56cfb9916bb24ad2f44deb2125b2d6fe3499d2 Branches: masterLink: http://git.php.net/?p=php-src.git;a=commitdiff;h=d6713f39898cc25ff51dca83ab233271937724e4Log: Fixed warning "No new line at end of file"
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);-- 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#define ZEND_FAST_RET 163 #define ZEND_RECV_VARIADIC 164-#endif \ No newline at end of file +#endif