You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Pavel Novy <no...@feld.cvut.cz> on 2001/11/19 15:46:22 UTC

[PATCH] Apache 2.0 and NetWare - compatibility issue (second try)

Hi,
here are the corresponding patches to solve implementation/alignment 
issues with the bitfield used in a shared struct (apr_uri_t -> 
request_rec). These problems are occuring if compiling Apache 2.0 for 
NetWare (Apache 1.3 also) with various compilers (gcc, Watcom, 
CodeWarrior). Changes are designed for "apr-util/include/apr_uri.h" and 
"apr-util/uri/apr_uri.c" files. There are some other ways how it could 
be changed here, of course - we can use "unsigned long" to store the 
flags instead of "unsigned char" here (to alocate space for future use), 
define "is_initialized" separately etc. Size of a request_rec struct 
(defined in httpd-2.0/include/httpd.h) may be potentially affected by 
these changes on some other target platforms (not only on NetWare), so 
it's needed to test it on all platforms thoroughly...

Thanks,
Pavel