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
Priority: Blocker
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]