RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  [email protected]
  Module: rpm                              Date:   13-Jan-2010 20:46:49
  Branch: HEAD                             Handle: 2010011319464900

  Modified files:
    rpm/js                  rpmte-js.c

  Log:
    - js: avoid enumerating rpmte properties until a proper iterator can
    be devised.

  Summary:
    Revision    Changes     Path
    1.18        +1  -1      rpm/js/rpmte-js.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/js/rpmte-js.c
  ============================================================================
  $ cvs diff -u -r1.17 -r1.18 rpmte-js.c
  --- rpm/js/rpmte-js.c 10 Jan 2010 18:29:12 -0000      1.17
  +++ rpm/js/rpmte-js.c 13 Jan 2010 19:46:49 -0000      1.18
  @@ -28,7 +28,6 @@
   /*...@unchecked@*/
   static int _debug = 0;
   
  -
   #define      rpmte_addprop   JS_PropertyStub
   #define      rpmte_delprop   JS_PropertyStub
   #define      rpmte_convert   JS_ConvertStub
  @@ -314,6 +313,7 @@
        break;
       case JSENUMERATE_NEXT:
        *statep = JSVAL_VOID;
  +         *idp = JSVAL_VOID;  /* XXX immediate terminate */
        if (*idp != JSVAL_VOID)
            break;
        /*...@fallthrough@*/
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                [email protected]

Reply via email to