Re: 05/07: inferior: Fix concurrent cached-profile calls.

2021-03-10 Thread Mathieu Othacehe
Hey Ludo, > However, there’s already a (file-exists? cached) call a few lines > above. So what you need instead is a TOCTTOU-free ‘symlink’, along > these lines: > > (define (symlink/safe old new) > (catch 'system-error > (lambda () > (symlink old new)) > (lambda args

Re: 05/07: inferior: Fix concurrent cached-profile calls.

2021-03-10 Thread Ludovic Courtès
Hi Mathieu, guix-comm...@gnu.org skribis: > commit 6ee7e3d26b8f5d2a234518cc2ab1bfeba7cd7c18 > Author: Mathieu Othacehe > AuthorDate: Fri Mar 5 12:49:06 2021 +0100 > > inferior: Fix concurrent cached-profile calls. > > * guix/inferior.scm (cached-profile): Do not create the profile s