[tor-dev] Patch to remove goto from sandbox.c

Lunar lunar at torproject.org
Sat Mar 1 18:07:53 UTC 2014


Hartmut Prochaska:
> I changed a function in sandbox.c to not use a goto statement. I didn't
> understood what use it had. Attached the patch file.

See <https://www.kernel.org/doc/Documentation/CodingStyle>, Chapter 7,
“Centralized exiting of functions” for a rationale.

-- 
Lunar                                             <lunar at torproject.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140301/63ad2f2b/attachment.sig>


More information about the tor-dev mailing list