]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix abuse of spread in gdbm
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 3 Oct 2011 04:53:32 +0000 (21:53 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 3 Oct 2011 04:53:32 +0000 (21:53 -0700)
extra/gdbm/gdbm.factor

index 2fe758f539c4c35a92e7018cd5d433492ab1ef9a..9e620fa793e354518eb2f089f108015e32057980 100644 (file)
@@ -76,7 +76,8 @@ DESTRUCTOR: gdbm-close
 
 : gdbm-store ( key content flag -- )
     [
-        { [ dbf ] [ object>datum ] [ object>datum ] [ ] } spread
+        [ dbf ] 3dip
+        [ object>datum ] [ object>datum ] [ ] tri*
         gdbm_store check-error
     ] with-destructors ;