FreeBSD Bugzilla – Attachment 138122 Details for
Bug 183978
[maintainer update] net/xrdp-devel: Fix autologin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.26 KB, created by
Koichiro Iwao
on 2013-11-15 03:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Koichiro Iwao
Created:
2013-11-15 03:10:00 UTC
Size:
1.26 KB
patch
obsolete
>diff -ruN /usr/ports/net/xrdp-devel/files/patch-fix-autologin net/xrdp-devel/files/patch-fix-autologin >--- /usr/ports/net/xrdp-devel/files/patch-fix-autologin 1970-01-01 09:00:00.000000000 +0900 >+++ net/xrdp-devel/files/patch-fix-autologin 2013-11-13 19:54:40.197990205 +0900 >@@ -0,0 +1,22 @@ >+--- xrdp/xrdp_wm.c.orig 2013-11-13 10:47:47.291991020 +0000 >++++ xrdp/xrdp_wm.c 2013-11-13 10:53:12.461993834 +0000 >+@@ -509,12 +509,17 @@ >+ { >+ /* if no doamin is passed, and no autorun in xrdp.ini, >+ use the first item in the xrdp.ini >+- file thats not named 'globals' */ >++ file thats not named >++ 'globals' or 'Logging' or channels */ >++ /* TODO: change this and have a 'autologin' >++ line in globals section */ >+ file_read_sections(fd, names); >+ for (index = 0; index < names->count; index++) >+ { >+ q = (char*)list_get_item(names, index); >+- if (g_strncasecmp("globals", q, 8) != 0) >++ if ((g_strncasecmp("globals", q, 8) != 0) && >++ (g_strncasecmp("Logging", q, 8) != 0) && >++ (g_strncasecmp("channels", q, 9) != 0)) >+ { >+ g_strncpy(section_name, q, 255); >+ break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 183978
: 138122 |
138123