axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r812424 - /webservices/axis2/trunk/c/util/src/dir_handler.c
Date Tue, 08 Sep 2009 09:59:37 GMT
Author: nandika
Date: Tue Sep  8 09:59:37 2009
New Revision: 812424

URL: http://svn.apache.org/viewvc?rev=812424&view=rev
Log:
dir_handler.c updated to compile on macos

Modified:
    webservices/axis2/trunk/c/util/src/dir_handler.c

Modified: webservices/axis2/trunk/c/util/src/dir_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/dir_handler.c?rev=812424&r1=812423&r2=812424&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/dir_handler.c (original)
+++ webservices/axis2/trunk/c/util/src/dir_handler.c Tue Sep  8 09:59:37 2009
@@ -34,7 +34,7 @@
 int dir_select(
     struct dirent *entry);
 int file_select(
-    const struct dirent *entry);
+    struct dirent *entry);
 #else
 int dir_select(
     const struct dirent *entry);
@@ -191,8 +191,8 @@
     int chdir_result = 0;
 
     /**FIXME:
-     * This magic number 500 was selected as a temperary solution. It has to be
-     * replaced with dinamic memory allocation. This will be done once the use of
+     * This magic number 500 was selected as a temporary solution. It has to be
+     * replaced with dynamic memory allocation. This will be done once the use of
      * errno after getwcd() on Windows is figured out.
      */
 
@@ -318,17 +318,12 @@
     return file_list;
 }
 
-int
-file_select(
-    const struct dirent *entry)
-{
-
 #ifdef IS_MACOSX
-    int file_select(struct dirent *entry);
+    int file_select(struct dirent *entry)
+{
 #else
-    int
-    file_select(
-        const struct dirent *entry);
+	int file_select(const struct dirent *entry)
+{
 #endif
     /** FIXME:
      * This block of code has been sitting here doing nothing.



Mime
View raw message