diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-03-13 16:20:52 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-03-13 16:20:52 -0400 |
commit | c1eaab9192a1808d3acc13bfdaf094a28346d909 (patch) | |
tree | c850b984148772fc1a34905f66ffe7976ef1edba /doc | |
parent | b55c32d4c6cb63ffd6d9ce49eee8be95628c9746 (diff) |
Windows: Fix bug in shell script shebang lookup code that caused a "delayed read on closed handle" error.
The bug was that withFile closes the handle afterwards, but the content
of the file was not read due to laziness. Using readFile avoids it.
This commit was sponsored by Nick Daly on Patreon.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/external_remote_hGetContents_handle_error.mdwn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bugs/external_remote_hGetContents_handle_error.mdwn b/doc/bugs/external_remote_hGetContents_handle_error.mdwn index 33914f924..a3414780f 100644 --- a/doc/bugs/external_remote_hGetContents_handle_error.mdwn +++ b/doc/bugs/external_remote_hGetContents_handle_error.mdwn @@ -40,3 +40,5 @@ Same as before, windows, git-bash ### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) Thanks for the quick response earlier. I hope this is helpful information. Keep up the great work! :) + +> Reproduced this bug, and I've committed a fix. [[done]] --[[Joey]] |