shithub: mc

Download patch

ref: 916167a53d09c9852020c5c75bfe2fe6744ddb0a
parent: d1f933cdea74c54335b7078d823a75c8ee751982
author: Ori Bernstein <[email protected]>
date: Tue Jun 19 15:26:52 EDT 2012

Floats should also be output as blobs for now.

--- a/8/reduce.c
+++ b/8/reduce.c
@@ -628,10 +628,10 @@
             break;
         case Olit:
             switch (args[0]->lit.littype) {
-                case Lchr: case Lbool: case Lint: case Lflt:
+                case Lchr: case Lbool: case Lint:
                     r = n;
                     break;
-                case Lstr: case Larray:
+                case Lstr: case Larray: case Lflt:
                     r = bloblit(s, n);
                     break;
                 case Lfunc: