[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #23848 [Core Tor/Tor]: Replace all exit() calls with return code style
#23848: Replace all exit() calls with return code style
------------------------------+-----------------------------------------
Reporter: hellais | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: tor-mobile,0.3.5-deferrable
Actual Points: | Parent ID: #23684
Points: | Reviewer:
Sponsor: |
------------------------------+-----------------------------------------
Currently tor uses inside of various places the `exit()` call, but this is
not nice when you are using it as a library as it leads to the whole app
crashing, while we would rather just get an exception or a proper error
code.
This involves grepping tor for `exit()` calls and replacing them with
instead return code style returns.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23848>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs