One thing: "goto" is really the only sane way in C to implement a
so-called posit/admit structure, which *is* recognized by structural
programming -- you assume that it is going to be OK, but need to do
cleanup if you bail. Sometimes an early return or "return do_cleanup();"
is acceptable, but if the function needs to do cleanup using local
variables, then there is no real choice.
-hpa
-- PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74 See http://www.zytor.com/~hpa/ for web page and full PGP public key I am Bahá'í -- ask me about it or see http://www.bahai.org/ "To love another person is to see the face of God." -- Les Misérables- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/