Re: com php-src: Remove extra semicolons: ext/gd/libgd/gd.c ext/gd/libgd/gd_matrix.c ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c
ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c ext/standard/filters.c ext/zip/lib/zip_source_crc.c
| From: | Gabriel Caruso | Date: | Thu, 26 Jul 2018 07:59:20 +0000 |
| Subject: | Re: com php-src: Remove extra semicolons: ext/gd/libgd/gd.c ext/gd/libgd/gd_matrix.c ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c ext/standard/filters.c ext/zip/lib/zip_source_crc.c |
||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-102681@lists.php.net to get a copy of this message | ||
Nikita,
Thanks for your comment. I’ll pay attention on that, and submit those
changes upstream as well.
Em qui, 26 de jul de 2018 Ã s 04:48, Nikita Popov <nikita.ppv@gmail.com>
escreveu:
> On Thu, Jul 26, 2018 at 2:47 AM, Gabriel Caruso <carusogabriel@php.net>
> wrote:
>
>> Commit: 9e4d590b1982cf38f23948dff1beffd06fd9e0d3
>> Author: Gabriel Caruso <carusogabriel34@gmail.com> Wed, 25
>> Jul 2018 21:45:21 -0300
>> Parents: 8d18d631b6145dea0dd579bcc8ffe446271b511d
>> Branches: master
>>
>> Link:
>> tþÍot¦£“Gw; ª
>> http://git.php.net/?p=php-src.git;a=commitdiff;h=9e4d590b1982cf38f23948dff1beffd06fd9e0d3
>>
>> Log:
>> Remove extra semicolons
>>
>> Changed paths:
>> M ext/gd/libgd/gd.c
>> M ext/gd/libgd/gd_matrix.c
>> M ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c
>> M ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c
>> M ext/standard/filters.c
>> M ext/zip/lib/zip_source_crc.c
>>
>>
>> Diff:
>> diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c
>> index 504a040..439c56f 100644
>> --- a/ext/gd/libgd/gd.c
>> +++ b/ext/gd/libgd/gd.c
>> @@ -1898,7 +1898,7 @@ void gdImageFill(gdImagePtr im, int x, int y, int
>> nc)
>> int alphablending_bak;
>>
>> /* stack of filled segments */
>> - /* struct seg stack[FILL_MAX],*sp = stack;; */
>> + /* struct seg stack[FILL_MAX],*sp = stack; */
>> struct seg *stack = NULL;
>> struct seg *sp;
>>
>> @@ -3143,4 +3143,3 @@ clean_on_error:
>> gdFree(src->tpixels);
>> return 0;
>> }
>> -
>> diff --git a/ext/gd/libgd/gd_matrix.c b/ext/gd/libgd/gd_matrix.c
>> index 83438bd..0a67f1d 100644
>> --- a/ext/gd/libgd/gd_matrix.c
>> +++ b/ext/gd/libgd/gd_matrix.c
>> @@ -246,7 +246,7 @@ int gdAffineShearHorizontal(double dst[6], const
>> double angle)
>> int gdAffineShearVertical(double dst[6], const double angle)
>> {
>> dst[0] = 1;
>> - dst[1] = tan(angle * M_PI / 180.0);;
>> + dst[1] = tan(angle * M_PI / 180.0);
>> dst[2] = 0;
>> dst[3] = 1;
>> dst[4] = 0;
>> @@ -331,4 +331,3 @@ int gdAffineEqual (const double m1[6], const double
>> m2[6])
>> fabs (m1[4] - m2[4]) < GD_EPSILON &&
>> fabs (m1[5] - m2[5]) < GD_EPSILON);
>> }
>> -
>> diff --git a/ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c
>> b/ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c
>> index 5ef4ac9..8998d8a 100644
>> --- a/ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c
>> +++ b/ext/pcre/pcre2lib/sljit/sljitNativePPC_common.c
>> @@ -2122,7 +2122,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32
>> sljit_emit_cmov(struct sljit_compiler *compil
>> CHECK_ERROR();
>> CHECK(check_sljit_emit_cmov(compiler, type, dst_reg, src, srcw));
>>
>> - return sljit_emit_cmov_generic(compiler, type, dst_reg, src,
>> srcw);;
>> + return sljit_emit_cmov_generic(compiler, type, dst_reg, src,
>> srcw);
>> }
>>
>> SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_mem(struct sljit_compiler
>> *compiler, sljit_s32 type,
>> diff --git a/ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c
>> b/ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c
>> index 669ecd8..97170f8 100644
>> --- a/ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c
>> +++ b/ext/pcre/pcre2lib/sljit/sljitNativeSPARC_common.c
>> @@ -1457,7 +1457,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32
>> sljit_emit_cmov(struct sljit_compiler *compil
>> CHECK(check_sljit_emit_cmov(compiler, type, dst_reg, src, srcw));
>>
>> #if (defined SLJIT_CONFIG_SPARC_32 && SLJIT_CONFIG_SPARC_32)
>> - return sljit_emit_cmov_generic(compiler, type, dst_reg, src,
>> srcw);;
>> + return sljit_emit_cmov_generic(compiler, type, dst_reg, src,
>> srcw);
>> #else
>> #error "Implementation required"
>> #endif
>> diff --git a/ext/standard/filters.c b/ext/standard/filters.c
>> index d955052..9bd494f 100644
>> --- a/ext/standard/filters.c
>> +++ b/ext/standard/filters.c
>> @@ -246,7 +246,7 @@ static php_stream_filter
>> *strfilter_strip_tags_create(const char *filtername, zv
>> {
>> php_strip_tags_filter *inst;
>> php_stream_filter *filter = NULL;
>> - zend_string *allowed_tags = NULL;;
>> + zend_string *allowed_tags = NULL;
>>
>> php_error_docref(NULL, E_DEPRECATED, "The string.strip_tags
>> filter is deprecated");
>>
>> diff --git a/ext/zip/lib/zip_source_crc.c b/ext/zip/lib/zip_source_crc.c
>> index 2967e47..2ace747 100644
>> --- a/ext/zip/lib/zip_source_crc.c
>> +++ b/ext/zip/lib/zip_source_crc.c
>> @@ -150,7 +150,7 @@ crc_read(zip_source_t *src, void *_ctx, void *data,
>> zip_uint64_t len, zip_source
>> st->comp_size = ctx->size;
>> st->comp_method = ZIP_CM_STORE;
>> st->encryption_method = ZIP_EM_NONE;
>> - st->valid |=
>>
>> ZIP_STAT_SIZE|ZIP_STAT_CRC|ZIP_STAT_COMP_SIZE|ZIP_STAT_COMP_METHOD|ZIP_STAT_ENCRYPTION_METHOD;;
>> + st->valid |=
>>
>> ZIP_STAT_SIZE|ZIP_STAT_CRC|ZIP_STAT_COMP_SIZE|ZIP_STAT_COMP_METHOD|ZIP_STAT_ENCRYPTION_METHOD;
>> }
>> return 0;
>> }
>>
>>
>> --
>> PHP CVS Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> This patches a number of bundled libraries (usually contain "lib"
> somewhere in the path). Such changes should be submitted upstream and be
> pulled in the next time the bundled library is updated.
>
> Nikita
>
--
Gabriel Caruso