This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integerize mg.c; eliminate warning on C< local($)) >
authorChip Salzenberg <salzench@nielsenmedia.com>
Fri, 23 Aug 1996 21:20:22 +0000 (17:20 -0400)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Fri, 23 Aug 1996 21:20:22 +0000 (17:20 -0400)
commit188ea221419ad1211dd551705e8d94114b6df1c5
treed710fa238cb407e90aeb5a12e1276a471a985686
parent2d9864fedb1b306ba5d850c407606a1466c433e1
Integerize mg.c; eliminate warning on C< local($)) >

Ok, here's a tested patch for the debugger problem.
I was missing the fact that DB::dbline magic is actually
uppercase (which means hv_store_ent() etc., will pass SV keys
to the vtbl_dbline handlers).

Replace the oft-repeated mg_ptr incantation with
the simple MgPVKEY macro.

Rename MgPVKEY to MgPV (to match with HePV elsewhere).  Add
additional parens around the "mg".

(lines near 584) Part of VMS changes.  I don't know what this did.

This patch converts magic variables ($!, $^E, etc.) to use integers
(C<sv_setiv>) instead of floats.  It also eliminates a warning from
C< local($)) >, via a hack similar to $!.
mg.c