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
7a4aa75d
Unverified
Commit
7a4aa75d
authored
Feb 27, 2018
by
Mihai Moldovan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/update_os' into 3.6.x
Attributes GH PR #651:
https://github.com/ArcticaProject/nx-libs/pull/651
parents
78724c48
41ff6b03
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
WaitFor.c
nx-X11/programs/Xserver/os/WaitFor.c
+1
-0
osdep.h
nx-X11/programs/Xserver/os/osdep.h
+2
-0
utils.c
nx-X11/programs/Xserver/os/utils.c
+0
-3
xdmauth.c
nx-X11/programs/Xserver/os/xdmauth.c
+4
-6
No files found.
nx-X11/programs/Xserver/os/WaitFor.c
View file @
7a4aa75d
...
@@ -826,6 +826,7 @@ SetScreenSaverTimer(void)
...
@@ -826,6 +826,7 @@ SetScreenSaverTimer(void)
MIN
(
ScreenSaverTime
,
timeout
)
:
MIN
(
ScreenSaverTime
,
timeout
)
:
ScreenSaverTime
;
ScreenSaverTime
;
}
}
#ifdef SCREENSAVER
#ifdef SCREENSAVER
if
(
timeout
&&
!
screenSaverSuspended
)
{
if
(
timeout
&&
!
screenSaverSuspended
)
{
#else
#else
...
...
nx-X11/programs/Xserver/os/osdep.h
View file @
7a4aa75d
...
@@ -111,9 +111,11 @@ SOFTWARE.
...
@@ -111,9 +111,11 @@ SOFTWARE.
/* MAXSELECT is the number of fds that select() can handle */
/* MAXSELECT is the number of fds that select() can handle */
#define MAXSELECT (sizeof(fd_set) * NBBY)
#define MAXSELECT (sizeof(fd_set) * NBBY)
#ifndef HAS_GETDTABLESIZE
#if !defined(SVR4) && !defined(SYSV)
#if !defined(SVR4) && !defined(SYSV)
#define HAS_GETDTABLESIZE
#define HAS_GETDTABLESIZE
#endif
#endif
#endif
#include <stddef.h>
#include <stddef.h>
...
...
nx-X11/programs/Xserver/os/utils.c
View file @
7a4aa75d
...
@@ -168,9 +168,6 @@ Bool noDamageExtension = FALSE;
...
@@ -168,9 +168,6 @@ Bool noDamageExtension = FALSE;
#ifdef DBE
#ifdef DBE
Bool
noDbeExtension
=
FALSE
;
Bool
noDbeExtension
=
FALSE
;
#endif
#endif
#ifdef DPSEXT
Bool
noDPSExtension
=
FALSE
;
#endif
#ifdef DPMSExtension
#ifdef DPMSExtension
Bool
noDPMSExtension
=
FALSE
;
Bool
noDPMSExtension
=
FALSE
;
#endif
#endif
...
...
nx-X11/programs/Xserver/os/xdmauth.c
View file @
7a4aa75d
...
@@ -439,10 +439,12 @@ XdmToID (unsigned short cookie_length, char *cookie)
...
@@ -439,10 +439,12 @@ XdmToID (unsigned short cookie_length, char *cookie)
{
{
free
(
client
);
free
(
client
);
free
(
cookie
);
free
(
cookie
);
free
(
plain
);
return
auth
->
id
;
return
auth
->
id
;
}
}
}
}
free
(
cookie
);
free
(
cookie
);
free
(
plain
);
return
(
XID
)
-
1
;
return
(
XID
)
-
1
;
}
}
...
@@ -464,10 +466,9 @@ XdmFromID (XID id, unsigned short *data_lenp, char **datap)
...
@@ -464,10 +466,9 @@ XdmFromID (XID id, unsigned short *data_lenp, char **datap)
int
int
XdmRemoveCookie
(
unsigned
short
data_length
,
char
*
data
)
XdmRemoveCookie
(
unsigned
short
data_length
,
char
*
data
)
{
{
XdmAuthorizationPtr
auth
,
prev
;
XdmAuthorizationPtr
auth
;
XdmAuthKeyPtr
key_bits
,
rho_bits
;
XdmAuthKeyPtr
key_bits
,
rho_bits
;
prev
=
0
;
switch
(
data_length
)
switch
(
data_length
)
{
{
case
16
:
case
16
:
...
@@ -487,10 +488,7 @@ XdmRemoveCookie (unsigned short data_length, char *data)
...
@@ -487,10 +488,7 @@ XdmRemoveCookie (unsigned short data_length, char *data)
if
(
XdmcpCompareKeys
(
rho_bits
,
&
auth
->
rho
)
&&
if
(
XdmcpCompareKeys
(
rho_bits
,
&
auth
->
rho
)
&&
XdmcpCompareKeys
(
key_bits
,
&
auth
->
key
))
XdmcpCompareKeys
(
key_bits
,
&
auth
->
key
))
{
{
if
(
prev
)
xdmAuth
=
auth
->
next
;
prev
->
next
=
auth
->
next
;
else
xdmAuth
=
auth
->
next
;
free
(
auth
);
free
(
auth
);
return
1
;
return
1
;
}
}
...
...
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