You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dinesh Premalal (JIRA)" <ji...@apache.org> on 2008/06/01 07:40:45 UTC
[jira] Updated: (AXIS2C-1135) MacOS version doesn't compile. Patch
provided
[ https://issues.apache.org/jira/browse/AXIS2C-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dinesh Premalal updated AXIS2C-1135:
------------------------------------
Priority: Major (was: Blocker)
> MacOS version doesn't compile. Patch provided
> ---------------------------------------------
>
> Key: AXIS2C-1135
> URL: https://issues.apache.org/jira/browse/AXIS2C-1135
> Project: Axis2-C
> Issue Type: Bug
> Components: build system (Unix/Linux)
> Affects Versions: 1.4.0
> Environment: MacOS 10.5.2
> Reporter: Mikolaj Kaluszynski
> Assignee: Sanjaya Ratnaweera
>
> Complie error:
> dir_handler.c: In function 'axutil_dir_handler_list_services_or_modules_in_dir':
> dir_handler.c:72: warning: passing argument 3 of 'scandir' from incompatible pointer type
> Patch:
> --- util/src/dir_handler.c.bak 2008-05-13 14:57:10.000000000 +0200
> +++ util/src/dir_handler.c 2008-05-13 14:58:42.000000000 +0200
> @@ -34,14 +34,15 @@
> #ifdef IS_MACOSX
> int dir_select(
> struct dirent *entry);
> +int file_select(
> + struct dirent *entry);
> #else
> int dir_select(
> const struct dirent *entry);
> +int file_select(
> + const struct dirent *entry);
> #endif
>
> -int
> -file_select(
> - const struct dirent *entry);
>
> /**
> * List the dll files in the given service or module folder path
> @@ -320,9 +321,15 @@
> return file_list;
> }
>
> +#ifdef IS_MACOSX
> +int
> +file_select(
> + struct dirent *entry)
> +#else
> int
> file_select(
> const struct dirent *entry)
> +#endif
> {
> /** FIXME:
> * This block of code has been sitting here doing nothing.
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org