axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafa...@apache.org
Subject svn commit: r1751581 - /axis/axis2/c/core/trunk/util/include/platforms/windows/axutil_dir_windows.h
Date Wed, 06 Jul 2016 03:37:54 GMT
Author: rafaelb
Date: Wed Jul  6 03:37:54 2016
New Revision: 1751581

URL: http://svn.apache.org/viewvc?rev=1751581&view=rev
Log:
Fixed Bug: AXIS2C-1674. Simple HttpServer crashes when reading directories in Windows 2012
Server	

Modified:
    axis/axis2/c/core/trunk/util/include/platforms/windows/axutil_dir_windows.h

Modified: axis/axis2/c/core/trunk/util/include/platforms/windows/axutil_dir_windows.h
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/include/platforms/windows/axutil_dir_windows.h?rev=1751581&r1=1751580&r2=1751581&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/util/include/platforms/windows/axutil_dir_windows.h (original)
+++ axis/axis2/c/core/trunk/util/include/platforms/windows/axutil_dir_windows.h Wed Jul  6
03:37:54 2016
@@ -42,10 +42,10 @@ struct dirent
 /* def struct DIR - different from Unix DIR */
 typedef struct
 {
-    long handle;          /* _findfirst/_findnext handle */
+	HANDLE handle;          /* FindFirstFile/FindNextFile handle */
     short offset;         /* offset into directory */
     short finished;       /* 1 if there are not more files */
-    struct _finddata_t fileinfo;  /* from _findfirst/_findnext */
+	WIN32_FIND_DATA fileinfo;  /* from FindFirstFile/FindNextFile */
     char *dirname;        /* the dir we are reading */
     struct dirent dent;   /* the dirent to return */
     



Mime
View raw message