You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Filipe Cust�dio <fm...@novabase.pt> on 1998/01/28 13:49:54 UTC
os-windows/1739: permanent_pool not properly exported.
>Number: 1739
>Category: os-windows
>Synopsis: permanent_pool not properly exported.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Wed Jan 28 04:50:01 PST 1998
>Last-Modified:
>Originator: fmc@novabase.pt
>Organization:
apache
>Release: 1.3b3
>Environment:
Windows NT4.0
Visual C++ 4.2
>Description:
permanent_pool (defined in src/main/Alloc.c) is not exported from
ApacheCore.dll. Some modules (for instance JavaSoft's mod_servlet) need to
access this variable.
>How-To-Repeat:
Compile any module which uses permanent_pool.
>Fix:
diff -w -r apache_1.3b3/src/main/Alloc.c apache_1.3b3.new/src/main/Alloc.c
325c325,326
< pool *permanent_pool;
---
> API_VAR_EXPORT pool *permanent_pool;
>
diff -w -r apache_1.3b3/src/main/Alloc.h apache_1.3b3.new/src/main/Alloc.h
83c83,84
< extern pool *permanent_pool;
---
> API_VAR_EXPORT pool *permanent_pool;
>
%0
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]