Advertisement
h3xx

postgresql-9.0.4_plperl.c_lvalue_syntax_error.patch

Jul 24th, 2011
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.50 KB | None | 0 0
  1. diff -ru postgresql-9.0.4.orig/src/pl/plperl/plperl.c postgresql-9.0.4/src/pl/plperl/plperl.c
  2. --- postgresql-9.0.4.orig/src/pl/plperl/plperl.c    2011-04-14 22:15:53.000000000 -0500
  3. +++ postgresql-9.0.4/src/pl/plperl/plperl.c 2011-07-24 19:14:49.000000000 -0500
  4. @@ -874,7 +874,7 @@
  5.         if (!isGV_with_GP(sv) || !GvCV(sv))
  6.             continue;
  7.         SvREFCNT_dec(GvCV(sv)); /* free the CV */
  8. -       GvCV(sv) = NULL;        /* prevent call via GV */
  9. +       GvCV_set(sv, NULL);     /* prevent call via GV */
  10.     }
  11.     hv_clear(stash);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement