ports/net/xrdp/files/patch-common__os_calls.c
Alejandro Pulver 4e271b433a - Fix bug preventing login methods other than VNC to work [1].
- Remove note in pkg-message about the previous problem.

Obtained from:	Christian Klein <chris@schwer.bewaff.net> (private e-mail) [1]
2007-06-05 00:21:46 +00:00

11 lines
248 B
C

--- ./common/os_calls.c.orig Sun Jul 30 01:41:31 2006
+++ ./common/os_calls.c Mon Jun 4 17:37:42 2007
@@ -1002,6 +1002,8 @@
g_clearenv(void)
{
#if defined(_WIN32)
+#elif defined(__FreeBSD__)
+ environ[0] = NULL;
#else
environ = 0;
#endif