[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

[perl #56536] pad_alloc and fold_constants are not members of public API



# New Ticket Created by  dk@tetsuo.karasik.eu.org 
# Please include the string:  [perl #56536]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=56536 >



This is a bug report for perl from dk@tetsuo.karasik.eu.org,
generated with the help of perlbug 1.35 running under perl v5.8.8.


-----------------------------------------------------------------
[Please enter your report here]


B::Generate doesn't compile on MSWin32, requiring Perl_pad_alloc and
Perl_fold_constants in perl.dll. Here's a patch that exports these
function, and allows B::Generate to be useful also on MSWin32.

--- embed.fnc.0	2008-05-21 15:35:50.000000000 +0200
+++ embed.fnc	2008-07-02 20:35:36.000000000 +0200
@@ -276,7 +276,7 @@
 p	|char*	|find_script	|NN const char *scriptname|bool dosearch \
 				|NULLOK const char *const *const search_ext|I32 flags
 p	|OP*	|force_list	|NULLOK OP* arg
-p	|OP*	|fold_constants	|NN OP *o
+Ap	|OP*	|fold_constants	|NN OP *o
 Afpd	|char*	|form		|NN const char* pat|...
 Ap	|char*	|vform		|NN const char* pat|NULLOK va_list* args
 Ap	|void	|free_tmps
@@ -653,7 +653,7 @@
 #else
 p	|void	|package	|NN OP* o
 #endif
-pd	|PADOFFSET|pad_alloc	|I32 optype|U32 tmptype
+Apd	|PADOFFSET|pad_alloc	|I32 optype|U32 tmptype
 p	|PADOFFSET|allocmy	|NN const char *const name
 pdR	|PADOFFSET|pad_findmy	|NN const char* name
 Ap	|PADOFFSET|find_rundefsvoffset	|


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---


Follow-Ups from:
"Rafael Garcia-Suarez" <rgarciasuarez@gmail.com>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]