cvs: pecl /phar makestub.php
| From: | Steph Fox | Date: | Fri, 01 Feb 2008 14:38:44 +0000 |
| Subject: | cvs: pecl /phar makestub.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9657@lists.php.net to get a copy of this message | ||
sfox Fri Feb 1 14:38:44 2008 UTC
Modified files:
/pecl/phar makestub.php
Log:
Generate newline at end of stub.h
http://cvs.php.net/viewvc.cgi/pecl/phar/makestub.php?r1=1.5&r2=1.6&diff_format=u
Index: pecl/phar/makestub.php
diff -u pecl/phar/makestub.php:1.5 pecl/phar/makestub.php:1.6
--- pecl/phar/makestub.php:1.5 Tue Jan 29 07:10:21 2008
+++ pecl/phar/makestub.php Fri Feb 1 14:38:44 2008
@@ -48,7 +48,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: makestub.php,v 1.5 2008/01/29 07:10:21 sfox Exp $ */
+/* $Id: makestub.php,v 1.6 2008/02/01 14:38:44 sfox Exp $ */
static inline void phar_get_stub(const char *index_php, const char *web, size_t *len, char **stub,
const int name_len, const int web_len TSRMLS_DC)
{
@@ -105,5 +105,5 @@
$stub .= ");
}";
-file_put_contents(dirname(__FILE__) . '/stub.h', $stub);
+file_put_contents(dirname(__FILE__) . '/stub.h', $stub."\n");
?>
\ No newline at end of file