[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrade Warning



On Mon, 12 Jul 1999, Darren O. Benham wrote:

> I hope this is not too late... but it appears that eperl is slightly broken
> in it's current state in otato.  For those of you living on the edige, if
> you upgrade to the current version will not be able to compile the web
> pages.  ePerl, used by wml, will die complaining about finding no strict.pm

Strange,
ePerl is a C program and i can't figure why it requires strict.pm
Some old versions of ePerl did not work with perl 5.005.
The patch below fixes this bug, i don't know whether it is included
under potato (and i do not know who to contact).

Denis

--- eperl_perl5.c	1999/01/12 14:24:14	1.2
+++ eperl_perl5.c	1999/01/19 12:07:10	1.4
@@ -69,6 +69,7 @@
 #if AC_perl_vnum < 500476
     IoFLAGS(GvIOp(defoutgv)) |= IOf_FLUSH; /* $|=1 */
 #else
+    dTHR;
     IoFLAGS(GvIOp(PL_defoutgv)) |= IOf_FLUSH; /* $|=1 */
 #endif
     return;
@@ -97,6 +98,9 @@
 */
 void Perl5_SetScalar(char *pname, char *vname, char *vvalue)
 {
+#if AC_perl_vnum >= 500476
+    dTHR;
+#endif
     ENTER;
     save_hptr(&curstash); 
     curstash = gv_stashpv(pname, TRUE);


Reply to: