[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-patch] [PATCH] plug a leak
From: |
Andreas Gruenbacher |
Subject: |
Re: [bug-patch] [PATCH] plug a leak |
Date: |
Wed, 25 May 2011 15:27:16 +0200 |
User-agent: |
KMail/1.12.4 (Linux/2.6.36-rc7+; KDE/4.3.5; i686; ; ) |
On Wednesday 25 May 2011 15:12:35 Jim Meyering wrote:
> I can see the advantage of using the goto (single point of return and *PY is
> always set). However, using the goto suggests you'd have to update the
> description to say what *PY = -1 means, but will any caller even care?
> Probably not, but I haven't checked that.
If a value > max is returned, *py is ignored. Not sure there is much value in
explicitly documenting this ...
Andreas
- [bug-patch] [PATCH] plug a leak, Jim Meyering, 2011/05/24
- Re: [bug-patch] [PATCH] plug a leak, Andreas Gruenbacher, 2011/05/25
- Re: [bug-patch] [PATCH] plug a leak, Jim Meyering, 2011/05/25
- Re: [bug-patch] [PATCH] plug a leak,
Andreas Gruenbacher <=
- Re: [bug-patch] [PATCH] plug a leak, Jim Meyering, 2011/05/25
- Re: [bug-patch] [PATCH] plug a leak, Andreas Gruenbacher, 2011/05/25
- Re: [bug-patch] [PATCH] plug a leak, Jim Meyering, 2011/05/25
- Re: [bug-patch] [PATCH] plug a leak, Andreas Gruenbacher, 2011/05/25
- Re: [bug-patch] [PATCH] plug a leak, Jim Meyering, 2011/05/25