Thanks for reporting back, Gisle.

The change has been pushed.

Tim

On Thursday 11 February 2016 10:36:37 Gisle Vanem wrote:
> > But of course, if you assume anything going wrong in
> > check_redirect_output() then we have to restore errno directly after it
> > returns. 'goto quit' is IMHO not needed. CHECK_VERBOSE() doesn't change
> > errno.
> 
> > That is IMO a bit less code changes, WDYT:
> Much better now, thanks. I get:
>   ASMBSW.dll: Permission denied
>   Cannot write to 'ASMBSW.dll' (Bad file descriptor).
> 
> The latter seems to happen in Gnulib's 'do_fwriteerror (fp, false)'.
> 
> Anyway, doing the same in a normal Read-Write directory but
> on a Read-Only file, I get the expected error-message:
> 
>   c:\temp> attrib +r ASMBSW.dll
>   c:\temp> wget -O ASMBSW.dll http://www.watt-32.net/misc/ASMBSW.dll
>   wget: ASMBSW.dll: Permission denied

Reply via email to