httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Win32+Win98+VC++5.0 issues with current code
Date Sun, 19 Nov 2000 15:14:42 GMT
Maybe we don't care about VC++ 5.0 (but I'm stuck with it)... I've
listed a couple of VC++5.0 issues just in case.

1) unknown error code 32035 from apr_recv() on Win98

trawick@celery:/work/apache-2.0/src% lib/apr/Release/client.exe
Initializing.........OK
Creating context.......OK
        Client:  Making socket address...............OK
        Client:  Creating new socket.......OK
        Client:  Connecting to socket.......OK
        Client:  Setting socket option NONBLOCK.......OK
        Client socket: 127.0.0.1:1155 -> 127.0.0.1:8021
        Client:  Trying to send data over socket.......OK
        Client:  Trying to receive data over socket.......Problem receiving data : Unrecognized
error code (32035)
trawick@celery:/work/apache-2.0/src%

What is this error code?  I can't find it anywhere.

2) filestat.c won't compile with VC++ 5.0

Here is an ugly broken hack.  What is needed are the real values for
these three defines, as they are not available with VC++ 5.0.

Index: lib/apr/file_io/win32/filestat.c
===================================================================
RCS file:
/home/cvspublic/apache-2.0/src/lib/apr/file_io/win32/filestat.c,v
retrieving revision 1.35
diff -u -r1.35 filestat.c
--- lib/apr/file_io/win32/filestat.c    2000/11/11 01:19:24     1.35
+++ lib/apr/file_io/win32/filestat.c    2000/11/19 15:01:54
@@ -62,6 +62,11 @@
 #include "atime.h"
 #include "misc.h"

+#ifndef FILE_ATTRIBUTE_REPARSE_POINT
+#define FILE_ATTRIBUTE_REPARSE_POINT 0x00001000
+#define FILE_FLAG_OPEN_NO_RECALL     0x00002000
+#define FILE_FLAG_OPEN_REPARSE_POINT 0x00003000
+#endif

 BOOLEAN is_exe(const char* fname, apr_pool_t *cont) {
     /*

3) mod_isapi won't compile

This probably isn't worth bothering with.  For starters,
LPHSE_URL_MAPEX_INFO isn't defined with VC++ 5.0.

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message