axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damitha Kumarage (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-1483) broken due to AXIS2_UNZOPEN2 change in axutil_unix.h
Date Fri, 25 Jun 2010 21:02:49 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Damitha Kumarage updated AXIS2C-1483:
-------------------------------------

    Description: 
Axis2/C build is broken due to  following change.
-define AXIS2_UNZOPEN2(zipfilename,ffunc) unzOpen2(zipfilename,NULL); memset(&ffunc, 0,
sizeof(ffunc));
+define AXIS2_UNZOPEN2(zipfilename,ffunc) do { unzOpen2(zipfilename,NULL); memset(&ffunc,
0, sizeof(ffunc)); } while (0)

why do we need a while loop here?



  was:
Axis2/C engine segfault when loading due to following change.
-define AXIS2_UNZOPEN2(zipfilename,ffunc) unzOpen2(zipfilename,NULL); memset(&ffunc, 0,
sizeof(ffunc));
+define AXIS2_UNZOPEN2(zipfilename,ffunc) "do { unzOpen2(zipfilename,NULL); memset(&ffunc,
0, sizeof(ffunc)); } while (0)"

why do we need a while loop here?




> broken due to AXIS2_UNZOPEN2 change in axutil_unix.h
> ----------------------------------------------------
>
>                 Key: AXIS2C-1483
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1483
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: platforms/unix
>         Environment: linux
>            Reporter: Damitha Kumarage
>
> Axis2/C build is broken due to  following change.
> -define AXIS2_UNZOPEN2(zipfilename,ffunc) unzOpen2(zipfilename,NULL); memset(&ffunc,
0, sizeof(ffunc));
> +define AXIS2_UNZOPEN2(zipfilename,ffunc) do { unzOpen2(zipfilename,NULL); memset(&ffunc,
0, sizeof(ffunc)); } while (0)
> why do we need a while loop here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message