Re: branch master updated: remote-server: Fix fetch worker crash.

2021-12-06 Thread Mathieu Othacehe
Hey Ludo, > I think it’s be safer (less prone to TOCTTOU races) to write it as: > > (catch 'system-error > (lambda () > (register-gc-roots drv)) > (lambda args > (unless (= ENOENT (system-error-errno args)) ;collected in the meantime > (apply throw args Oh, ind

Re: branch master updated: remote-server: Fix fetch worker crash.

2021-12-05 Thread Ludovic Courtès
Hi, m.othac...@gmail.com (Mathieu Othacehe) skribis: > --- a/src/cuirass/scripts/remote-server.scm > +++ b/src/cuirass/scripts/remote-server.scm > @@ -376,7 +376,10 @@ directory." > (when (> duration 60) >(log-message "fetching '~a' took ~a seconds." >