Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
506aedbc
Commit
506aedbc
authored
Mar 15, 2017
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xserver/os/utils.c: Add NXAGENT_SERVER specific -nolisten parameter: ANY.
This allows us to trigger the NoListenAll := TRUE code path in nxagent.
parent
e8bc4c7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Imakefile
nx-X11/programs/Xserver/os/Imakefile
+1
-0
utils.c
nx-X11/programs/Xserver/os/utils.c
+5
-0
No files found.
nx-X11/programs/Xserver/os/Imakefile
View file @
506aedbc
...
@@ -43,6 +43,7 @@ NX_DEFINES = -DNX_TRANS_SOCKET \
...
@@ -43,6 +43,7 @@ NX_DEFINES = -DNX_TRANS_SOCKET \
-DNX_TRANS_SLEEP \
-DNX_TRANS_SLEEP \
-DNX_TRANS_EXIT \
-DNX_TRANS_EXIT \
-DNX_TRANS_WAKEUP=1000 \
-DNX_TRANS_WAKEUP=1000 \
-DNXAGENT_SERVER \
$(NULL)
$(NULL)
# -DNX_TRANS_WARN \
# -DNX_TRANS_WARN \
...
...
nx-X11/programs/Xserver/os/utils.c
View file @
506aedbc
...
@@ -902,6 +902,11 @@ ProcessCommandLine(int argc, char *argv[])
...
@@ -902,6 +902,11 @@ ProcessCommandLine(int argc, char *argv[])
else
if
(
strcmp
(
argv
[
i
],
"-nolisten"
)
==
0
)
else
if
(
strcmp
(
argv
[
i
],
"-nolisten"
)
==
0
)
{
{
if
(
++
i
<
argc
)
{
if
(
++
i
<
argc
)
{
#ifdef NXAGENT_SERVER
if
(
strcmp
(
argv
[
i
],
"ANY"
)
==
0
)
NoListenAll
=
TRUE
;
else
#endif
/* NXAGENT_SERVER */
if
(
_XSERVTransNoListen
(
argv
[
i
]))
if
(
_XSERVTransNoListen
(
argv
[
i
]))
FatalError
(
"Failed to disable listen for %s transport"
,
FatalError
(
"Failed to disable listen for %s transport"
,
argv
[
i
]);
argv
[
i
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment