[exim-dev] Use of 'goto' in Exim sources.

Pàgina inicial
Delete this message
Reply to this message
Autor: David Wilson
Data:  
A: exim-dev
Assumpte: [exim-dev] Use of 'goto' in Exim sources.
Hi there,

I finally got around to looking at reformatting my Python patch today.
One thing I had forgotten about is a single goto label in the main
Python expansion procedure.

This function has 5 possible points where it can exit, performing the
same set of tasks at each exit. The use of a single label tidies the
whole thing up quite a bit, and I'd like to avoid rewriting this
procedure, as it's only going to get messy if I try to remove the label.

I notice that in my Exim 4.32 tree there are 345 other gotos, suggesting
that Philip doesn't mind the use of goto (well, judiciously, at least).
Is this the case?

Thanks,


David.