<div dir="ltr">Hi Dawid,<div>thanks for the information. Well, please rebase to the latest commit of my master branch and resend, thanks a lot!</div><div><br></div><div>Michal</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-06-18 22:05 GMT+02:00 Dawid Zamirski <span dir="ltr"><<a href="mailto:dzamirski@dattobackup.com" target="_blank">dzamirski@dattobackup.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ugh, now I know what happened - my local master branch has commits I<br>
have not sent pull requests for yet so it wasn't in 100% in sync with<br>
remote. Do you want me to resend the patch to the ML?<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, 2014-06-18 at 16:02 -0400, Dawid Zamirski wrote:<br>
> Hi Michal,<br>
><br>
> I'm pretty sure I did git pull right before sending the patch. Here's<br>
> what I did exactly:<br>
><br>
> On master branch:<br>
><br>
> git pull<br>
> git checkout -b parse-param-fix origin/master<br>
> created original patch & commit<br>
> git format-patch -1<br>
> git send-email --no-chain-reply-to --annotate 0001-Use-long-variable-type-for-zend_parse_parameters.patch<br>
><br>
> then I've noticed the warnings (still on parse-param-fix branch)<br>
> create patch & commit<br>
> git fetch --all<br>
> git pull --rebase<br>
> git send-email --no-chain-reply-to --annotate origin/master<br>
><br>
> I guess that before starting the waring fix patch I should have create a<br>
> new local branch:<br>
> git checkout master<br>
> git pull<br>
> git checkout -b warning-fix origin/master<br>
><br>
> and then work from there.<br>
><br>
> Regards,<br>
> Dawid<br>
><br>
><br>
> On Wed, 2014-06-18 at 21:28 +0200, Michal Novotny wrote:<br>
> > Hi Dawid,<br>
> ><br>
> ><br>
> > thanks for the patch, I'll apply it when I have time to do so.<br>
> > However, the patch is not critical as it's in the DPRINTF debug macro<br>
> > (for production environment you should disable the DEBUG macro).<br>
> ><br>
> ><br>
> > Also, please make sure you are you the latest git tree (by running git<br>
> > pull before writing the patch) as I'm having issues applying some of<br>
> > the patches cleanly.<br>
> ><br>
> ><br>
> > Thanks,<br>
> > Michal<br>
> ><br>
> ><br>
> > 2014-06-18 21:09 GMT+02:00 Dawid Zamirski <<a href="mailto:dzamirski@dattobackup.com">dzamirski@dattobackup.com</a>>:<br>
> >         The previous patch [1] caused compiler warnings after variable<br>
> >         types<br>
> >         were changed from int to long and this patch fixes this.<br>
> ><br>
> >         [1]<br>
> >         <a href="https://www.redhat.com/archives/libvir-list/2014-June/msg00835.html" target="_blank">https://www.redhat.com/archives/libvir-list/2014-June/msg00835.html</a><br>
> >         ---<br>
> >          src/libvirt-php.c | 8 ++++----<br>
> >          1 file changed, 4 insertions(+), 4 deletions(-)<br>
> ><br>
> >         diff --git a/src/libvirt-php.c b/src/libvirt-php.c<br>
> >         index 224943d..6d6fa81 100644<br>
> >         --- a/src/libvirt-php.c<br>
> >         +++ b/src/libvirt-php.c<br>
> >         @@ -3928,7 +3928,7 @@<br>
> >         PHP_FUNCTION(libvirt_domain_send_pointer_event)<br>
> >                         RETURN_FALSE;<br>
> >                 }<br>
> ><br>
> >         -       DPRINTF("%s: x = %d, y = %d, clicked = %d, release = %<br>
> >         d, hostname = %s...\n", PHPFUNC, pos_x, pos_y, clicked,<br>
> >         release, hostname);<br>
> >         +       DPRINTF("%s: x = %d, y = %d, clicked = %d, release = %<br>
> >         d, hostname = %s...\n", PHPFUNC, (int) pos_x, (int) pos_y,<br>
> >         (int) clicked, release, hostname);<br>
> >                 ret = vnc_send_pointer_event(hostname, tmp, pos_x,<br>
> >         pos_y, clicked, release);<br>
> >                 if (ret == 0) {<br>
> >                         DPRINTF("%s: Pointer event result is %d\n",<br>
> >         PHPFUNC, ret);<br>
> >         @@ -4428,7 +4428,7 @@ PHP_FUNCTION(libvirt_domain_new)<br>
> >                 numNets = i;<br>
> ><br>
> >                 snprintf(tmpname, sizeof(tmpname), "%s-install",<br>
> >         name);<br>
> >         -       DPRINTF("%s: Name is '%s', memMB is %d, maxmemMB is %d<br>
> >         \n", PHPFUNC, tmpname, memMB, maxmemMB);<br>
> >         +       DPRINTF("%s: Name is '%s', memMB is %d, maxmemMB is %d<br>
> >         \n", PHPFUNC, tmpname, (int) memMB, (int) maxmemMB);<br>
> >                 tmp = installation_get_xml(1,<br>
> >                                 conn->conn, tmpname, memMB, maxmemMB,<br>
> >         NULL /* arch */, NULL, vcpus, iso_image,<br>
> >                                 vmDisks, numDisks, vmNetworks,<br>
> >         numNets,<br>
> >         @@ -6272,7 +6272,7 @@<br>
> >         PHP_FUNCTION(libvirt_domain_snapshot_delete)<br>
> >                 GET_SNAPSHOT_FROM_ARGS("r|l",&zsnapshot, &flags);<br>
> ><br>
> >                 retval = virDomainSnapshotDelete(snapshot->snapshot,<br>
> >         flags);<br>
> >         -       DPRINTF("%s: virDomainSnapshotDelete(%p, %d) returned<br>
> >         %d\n", PHPFUNC, snapshot->snapshot, flags, retval);<br>
> >         +       DPRINTF("%s: virDomainSnapshotDelete(%p, %d) returned<br>
> >         %d\n", PHPFUNC, snapshot->snapshot, (int) flags, retval);<br>
> >                 if (retval == -1) RETURN_FALSE;<br>
> >                 RETURN_TRUE;<br>
> >          }<br>
> >         @@ -6772,7 +6772,7 @@<br>
> >         PHP_FUNCTION(libvirt_storagevolume_delete)<br>
> >                 GET_VOLUME_FROM_ARGS("r|l",&zvolume,&flags);<br>
> ><br>
> >                 retval = virStorageVolDelete(volume->volume, flags);<br>
> >         -       DPRINTF("%s: virStorageVolDelete(%p, %d) returned %d<br>
> >         \n", PHPFUNC, volume->volume, flags, retval);<br>
> >         +       DPRINTF("%s: virStorageVolDelete(%p, %d) returned %d<br>
> >         \n", PHPFUNC, volume->volume, (int) flags, retval);<br>
> >                  if (retval != 0) {<br>
> >                         set_error_if_unset("Cannot delete storage<br>
> >         volume" TSRMLS_CC);<br>
> >                         RETURN_FALSE;<br>
> >         --<br>
> >         1.9.3<br>
> ><br>
> >         --<br>
> >         libvir-list mailing list<br>
> >         <a href="mailto:libvir-list@redhat.com">libvir-list@redhat.com</a><br>
> >         <a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/mailman/listinfo/libvir-list</a><br>
> ><br>
> ><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div>