http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5556
Summary: Missing `close()', unavailable `newSVpvn_share()'
function, ;OPTIMIZE' => '-O2' problem --
Product: Spamassassin
Version: 3.2.1
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P5
Component: sa-compile
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
FWIW - I get a "Not Found" when I click on the above "bug writing guidelines".
Bug: `sa-compile::rule2xs()' function does not close "FILE". The last partial
buffer is not written to the file ("body_0.pm") until `sa-compile' exits but is
required in toto at the time `make' is executed. My patch attached below.
Problem 1: The `newSVpvn_share()' function is used in the generated ".xs" code.
Unfortunately, it didn't become available until the perl-5.7.1 API according to
the "Devel::PPPort" module documentation and I'm using perl-5.6.2. `sa-compile'
needs a "require 5.7.1"?
Problem 2: The code used to generate "Makefile.PL" specifically sets 'OPTIMIZE"
=> '-O2'. Unfortunately, "-O2" doesn't work with the Sun Forte/Studio<nn> C
compilers.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.