Messages in this thread | | | From | Russell Miller <> | Subject | Re: question on common error-handling idiom | Date | Tue, 2 Nov 2004 16:12:28 -0500 |
| |
On Tuesday 02 November 2004 14:58, Jan Engelhardt wrote:
> So to summarize, it's done to reduce code whilst keeping the error code > around until we actually leave the function. > I understand what you're saying, the OP did raise a point that I think is worth repeating, that it's an extra instruction in all but error cases. Is that extra instruction worth the tradeoff?
--Russell
> > My € 0.02! > > > Jan Engelhardt
--
Russell Miller - rmiller@duskglow.com - Le Mars, IA Duskglow Consulting - Helping companies just like you to succeed for ~ 10 yrs. http://www.duskglow.com - 712-546-5886 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |