From: Guillermo J. Rozas Date: Tue, 9 Nov 1993 04:08:10 +0000 (+0000) Subject: Make non-top-level blocks have a time-stamp. X-Git-Tag: 20090517-FFI~7575 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=c8e76de9c89a9ed00287a0039a45c724ced7a7b2;p=mit-scheme.git Make non-top-level blocks have a time-stamp. --- diff --git a/v7/src/compiler/machines/C/cout.scm b/v7/src/compiler/machines/C/cout.scm index d90ad657e..8bfa7f8a5 100644 --- a/v7/src/compiler/machines/C/cout.scm +++ b/v7/src/compiler/machines/C/cout.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: cout.scm,v 1.9 1993/11/01 15:30:24 gjr Exp $ +$Id: cout.scm,v 1.10 1993/11/09 04:08:10 gjr Exp $ Copyright (c) 1992-1993 Massachusetts Institute of Technology @@ -106,7 +106,7 @@ MIT in each case. |# suffix)) ((not path) (string-append default suffix time-stamp)) - (else + ((string-null? suffix) (let ((dir (pathname-directory path))) (string-append (if (or (not dir) (null? dir)) default @@ -115,7 +115,14 @@ MIT in each case. |# "_" (canonicalize-label-name (pathname-name path)) midfix - suffix)))))) + suffix))) + (else + (string-append default + "_" + (canonicalize-label-name (pathname-name path)) + midfix + suffix + time-stamp))))) (define (subroutine-information-1) (cond ((eq? *invoke-interface* 'INFINITY)