Re: [PATCH] copy.c: make copy_fd preserve meaningful errno
- From
Stefan Beller <sbeller@google.com>
- Date
- Nov 18, 2014, 01:01 UTC
- Message-ID
- <CAGZ79kbF6JjxgHX2KZFhSh9QyGOXeS=cVK0z=CM4n9-ErRDJ8A@mail.gmail.com>
- In-Reply-To
- <20141118004841.GE4336@google.com>
On Mon, Nov 17, 2014 at 4:48 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
> (meta-comment: please snip out the context you are not responding to, > to make reading easier)
will do
Show 6 quoted lines
> > After this patch, setting errno is not part of the contract of > copy_fd, so the bug Ronnie was fixing is gone. > > But it's a little more invasive. What do you think? >
I really like that approach and would be happy if we'd take it instead of the one I sent.