[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Close every file and port used in ports.test
From: |
Ludovic Courtès |
Subject: |
Re: Close every file and port used in ports.test |
Date: |
Wed, 02 Jul 2014 11:53:05 +0200 |
User-agent: |
Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) |
Eli Zaretskii <address@hidden> skribis:
> Here's one more fallout from digging into ports.test failures on
> Windows. After all the ports.test tests are completed, Guile reported
> a fatal error because it couldn't delete the temporary file used by
> these tests.
>
> It turns out 6 of the tests were not closing the file after they were
> done with it. Windows doesn't allow to delete an open file (unless it
> was opened in a very special manner, something the "normal" Posix
> emulating functions like 'open' don't do).
>
> Here's the patch to fix that:
Makes sense, please push.
Thanks,
Ludo’.
- Re: Close every file and port used in ports.test,
Ludovic Courtès <=