GNU bug report logs - #75588
[PATCH] guix: utils: Delete temporary output files.

Previous Next

Package: guix-patches;

Reported by: Kierin Bell <fernseed <at> fernseed.me>

Date: Wed, 15 Jan 2025 16:53:02 UTC

Severity: normal

Tags: patch

Done: Kierin Bell <fernseed <at> fernseed.me>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 75588 <at> debbugs.gnu.org (full text, mbox):

From: Kierin Bell <fernseed <at> fernseed.me>
To: 75588 <at> debbugs.gnu.org
Subject: Re: bug#75588: Acknowledgement ([PATCH] guix: utils: Delete
 temporary output files.)
Date: Wed, 15 Jan 2025 14:40:48 -0500
help-debbugs <at> gnu.org (GNU bug Tracking System) writes:

So this bug should be canceled! It doesn't actually change the behavior
of the function in any way (though it may making it easier to read for
people not familiar with 'mkstemp!').

I did find a corner-case where temporary files created by
'call-with-temporary-output-file' are not deleted like I'd expect. It
involves using 'execl' to call a process from within
'call-with-temporary-output-file', where the temporary file is not
deleted, at least until after it the new process terminates. Though
confusing, this is probably the right behavior.

-- 
Kierin Bell




This bug report was last modified 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.