[Jifty-commit] r5663 - B-OPCheck

Jifty commits jifty-commit at lists.jifty.org
Mon Aug 4 14:19:12 EDT 2008


Author: nothingmuch
Date: Mon Aug  4 14:19:12 2008
New Revision: 5663

Modified:
   B-OPCheck/OPCheck.xs

Log:
av_delete is not portable according to ppport

Modified: B-OPCheck/OPCheck.xs
==============================================================================
--- B-OPCheck/OPCheck.xs	(original)
+++ B-OPCheck/OPCheck.xs	Mon Aug  4 14:19:12 2008
@@ -230,7 +230,7 @@
         for ( i = av_len(av); i >= 0; i-- ) {
             SV **elem = av_fetch(av, i, 0);;
             if ( elem && *elem == perlsub ) {
-                av_delete(av, i, G_DISCARD);
+                av_store(av, i, &PL_sv_undef);
                 break;
             }
         }


More information about the Jifty-commit mailing list