[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5114 [Tor Client]: Environ not available on all versions of OS X, segfaults tor with obfsproxy
#5114: Environ not available on all versions of OS X, segfaults tor with obfsproxy
------------------------+---------------------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: Tor: 0.2.3.x-final
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Comment(by nickm):
Replying to [comment:7 Sebastian]:
> see bug5114 in my repo, other than that, seems fine.
{{{
-#ifdef HAVE_CRT_EXTERNS_H
+#ifdef HAVE__NSGETENVIRON
#include <crt_externs.h>
#endif
}}}
No, that's not autoconf practice. If you want to know whether you should
call a function , you check for that function. If you want to know
whether you should include a header, you check for that header's presence.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5114#comment:8>
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