rbb 99/06/07 06:21:44
Modified: apr/file_io/win32 open.c
apr/include apr_lib.h
apr/test testfile.c
Log:
Final commit to get file stuff working reliably on Windows.
Revision Changes Path
1.2 +1 -1 apache-apr/apr/file_io/win32/open.c
Index: open.c
===================================================================
RCS file: /home/cvs/apache-apr/apr/file_io/win32/open.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- open.c 1999/06/03 19:43:45 1.1
+++ open.c 1999/06/07 13:21:41 1.2
@@ -159,7 +159,7 @@
{
char *temp = canonical_filename(cont, path);
- if (DeleteFile(temp) == 0) {
+ if (DeleteFile(temp)) {
return APR_SUCCESS;
}
else {
1.9 +2 -0 apache-apr/apr/include/apr_lib.h
Index: apr_lib.h
===================================================================
RCS file: /home/cvs/apache-apr/apr/include/apr_lib.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- apr_lib.h 1999/06/02 18:44:35 1.8
+++ apr_lib.h 1999/06/07 13:21:43 1.9
@@ -67,6 +67,8 @@
#include "apr_general.h"
#ifndef WIN32
#include "apr_config.h"
+#else
+#include "apr_win.h"
#endif
#include "hsregex.h"
1.27 +1 -2 apache-apr/apr/test/testfile.c
Index: testfile.c
===================================================================
RCS file: /home/cvs/apache-apr/apr/test/testfile.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- testfile.c 1999/06/06 09:17:50 1.26
+++ testfile.c 1999/06/07 13:21:44 1.27
@@ -52,12 +52,11 @@
* project, please see <http://www.apache.org/>.
*
*/
+#include <stdio.h>
#include "apr_file_io.h"
#include "apr_errno.h"
#include "apr_general.h"
#include "apr_lib.h"
-#include "errno.h"
-#include <stdio.h>
#ifdef BEOS
#include <unistd.h>
#endif