httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject RE: Win32+Win98+VC++5.0 issues with current code
Date Sun, 19 Nov 2000 15:40:05 GMT
> From: Jeff Trawick [mailto:trawickj@bellsouth.net]
> Sent: Sunday, November 19, 2000 9:15 AM
> 
> 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

Are you remembering to subtract 20000 from the return code? 12035
WSABASEERROR is 10000 so this should be a winsock err+2035, but I
have no reference to it in the current SDK.
 
> 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

s/0x00001000/0x00000400/

> +#define FILE_FLAG_OPEN_NO_RECALL     0x00002000

s/0x00002000/0x00100000/

> +#define FILE_FLAG_OPEN_REPARSE_POINT 0x00003000

s/0x00003000/0x00200000/

> +#endif

which are the true and correct values.  Besides, shouldn't we
have three #ifndef's - just in case these were incrementally 
added to the sdk?

> 
>  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.

No, it's an SDK thing.  I'm thinking about this... will come
up with an answer/patch/something in a couple of hours.

> -- 
> 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