shithub: mc

Download patch

ref: a88491ed41617826250a922307112dc662a93a4c
parent: 14ec83e1ab97ee50e0f7686b390f8daba6ee34f9
author: Ori Bernstein <[email protected]>
date: Wed Jun 20 15:33:43 EDT 2012

The OSX assembler doesn't accept '.string'

    Use .ascii. FIXME: does this work for arbitrary bytes? If not,
    fix this...

--- a/8/isel.c
+++ b/8/isel.c
@@ -740,7 +740,7 @@
 
     for (i = 0; i < sz; i++) {
         if (i % 60 == 0)
-            fprintf(fd, "\t.string \"");
+            fprintf(fd, "\t.ascii \"");
         if (isprint(p[i]))
             fprintf(fd, "%c", p[i]);
         else