From 011e2542573e7807360dd420e7a37d64c361cfba Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Mon, 11 Feb 2008 07:52:06 +0000 Subject: [PATCH] Actually do avoid the race condition. --- v7/src/runtime/infutl.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/infutl.scm b/v7/src/runtime/infutl.scm index d25acb8bd..6eb0b19f6 100644 --- a/v7/src/runtime/infutl.scm +++ b/v7/src/runtime/infutl.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: infutl.scm,v 1.75 2008/02/10 21:35:46 riastradh Exp $ +$Id: infutl.scm,v 1.76 2008/02/11 07:52:06 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -759,7 +759,8 @@ USA. (or (file-exists? (cadar entries)) (begin (set-cdr! (cdar entries) #f) - #f))))) + #f)) + (cddar entries)))) (dynamic-wind (lambda () unspecific) (lambda () @@ -809,6 +810,7 @@ USA. (loop (cdr entries) entries) (begin (set-cdr! prev (cdr entries)) + (set-cdr! (cdar entries) #f) (deallocate-temporary-file (cadar entries)) (loop (cdr entries) prev)))))))) -- 2.25.1