[BusyBox] [PATCH] Read-only option for losetup.c
Rob Landley
rob at landley.net
Sun Apr 10 20:48:40 UTC 2005
> WAH. Don't use goto if not necesary. And no, it is not.
Using gotos to break out of multiply nesting levels (rather than an
unnecessary control variable ala breakout=1; break; if(breakout) break;
if(breakout) break; etc) is a fairly widely accepted practice.
Java added the "labeled break" for just this purpose.
Here's an old 1998 message from Linus Torvalds on the subject:
http://groups-beta.google.com/group/comp.os.linux.development.system/msg/17816907bcfbb61c
Rob
> Bastian
More information about the busybox
mailing list