Fix data labels when timestamped.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 9 Nov 1993 04:27:38 +0000 (04:27 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 9 Nov 1993 04:27:38 +0000 (04:27 +0000)
v7/src/compiler/machines/C/cout.scm

index 4c86fc60153163a45b4fa3ff62deec7930c81e91..dfdf19d9b79da7f359a59e7cdedaaddf2f217d12 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: cout.scm,v 1.11 1993/11/09 04:25:49 gjr Exp $
+$Id: cout.scm,v 1.12 1993/11/09 04:27:38 gjr Exp $
 
 Copyright (c) 1992-1993 Massachusetts Institute of Technology
 
@@ -114,12 +114,11 @@ MIT in each case. |#
                                   (car (last-pair dir))))
                              "_"
                              (canonicalize-label-name (pathname-name path))
-                             midfix
-                             suffix)))
+                             midfix)))
            (else
-            (string-append default
+            (string-append (canonicalize-label-name (pathname-name path))
                            "_"
-                           (canonicalize-label-name (pathname-name path))
+                           default
                            suffix
                            time-stamp)))))
 \f