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
76b9f2d9
Commit
76b9f2d9
authored
Oct 10, 2011
by
Reinhard Tartler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imported nxauth-3.2.0-1.tar.gz
Summary: Imported nxauth-3.2.0-1.tar.gz Keywords: Imported nxauth-3.2.0-1.tar.gz into Git repository
parent
9610c1e7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
CHANGELOG
nx-X11/programs/nxauth/CHANGELOG
+8
-0
process.c
nx-X11/programs/nxauth/process.c
+14
-0
No files found.
nx-X11/programs/nxauth/CHANGELOG
View file @
76b9f2d9
ChangeLog:
nxauth-3.2.0-1
- Opened the 3.2.0 branch based on nxauth-3.1.0-2.
nxauth-3.1.0-2
- Added support for launchd socket.
nxauth-3.1.0-1
- Opened the 3.1.0 branch based on nxauth-3.0.0-6.
...
...
nx-X11/programs/nxauth/process.c
View file @
76b9f2d9
...
...
@@ -503,6 +503,20 @@ get_displayname_auth(char *displayname, Xauth *auth)
if
(
cp
&&
strncmp
(
cp
,
"/unix:"
,
6
)
==
0
)
prelen
=
(
cp
-
displayname
);
#ifdef __APPLE__
/*
* FIXME: This is an attempt to get the right
* cookie, because no one can grant that the
* X server is running on the display number
* reported in the launchd display name.
*/
if
(
strncmp
(
displayname
,
"/tmp/launch"
,
11
)
==
0
)
displayname
=
strrchr
(
displayname
,
'/'
)
+
1
;
#endif
if
(
!
parse_displayname
(
displayname
+
((
prelen
>
0
)
?
prelen
+
1
:
0
),
&
family
,
&
host
,
&
dpynum
,
&
scrnum
,
&
rest
))
{
return
False
;
...
...
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