From: Jason Wilson Date: Thu, 10 Jun 1993 00:11:59 +0000 (+0000) Subject: Handle false and empty list as pathname directories. X-Git-Tag: 20090517-FFI~8344 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=ba19c071923e41515b3f6cb5c3e1405f4f3fa172;p=mit-scheme.git Handle false and empty list as pathname directories. --- diff --git a/v7/src/compiler/machines/C/cout.scm b/v7/src/compiler/machines/C/cout.scm index bceb296de..e4cfac101 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.2 1993/06/09 09:28:43 jawilson Exp $ +$Id: cout.scm,v 1.3 1993/06/10 00:11:59 jawilson Exp $ Copyright (c) 1992-1993 Massachusetts Institute of Technology @@ -108,7 +108,7 @@ MIT in each case. |# (string-append default suffix time-stamp)) (else (let ((dir (pathname-directory path))) - (string-append (if (null? dir) + (string-append (if (or (not dir) (null? dir)) default (car (last-pair dir))) "_"