axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Premalal (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-1135) MacOS version doesn't compile. Patch provided
Date Sun, 01 Jun 2008 05:40:45 GMT

     [ 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


Mime
View raw message