Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
rasky
libvncserver
Commits
9b3163c0
Commit
9b3163c0
authored
Jan 11, 2006
by
runge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logMutex needs to be initialized too; in rfbDefaultLog.
parent
57cf0cda
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
727 additions
and
713 deletions
+727
-713
main.c
libvncserver/main.c
+12
-2
prepare_x11vnc_dist.sh
prepare_x11vnc_dist.sh
+1
-1
README
x11vnc/README
+712
-708
x11vnc.1
x11vnc/x11vnc.1
+1
-1
x11vnc_defs.c
x11vnc/x11vnc_defs.c
+1
-1
No files found.
libvncserver/main.c
View file @
9b3163c0
...
...
@@ -38,6 +38,8 @@
#include <signal.h>
#include <time.h>
static
int
extMutex_initialized
=
0
;
static
int
logMutex_initialized
=
0
;
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
static
MUTEX
(
logMutex
);
static
MUTEX
(
extMutex
);
...
...
@@ -61,7 +63,6 @@ void
rfbRegisterProtocolExtension
(
rfbProtocolExtension
*
extension
)
{
rfbProtocolExtension
*
last
;
static
int
extMutex_initialized
=
0
;
if
(
!
extMutex_initialized
)
{
INIT_MUTEX
(
extMutex
);
...
...
@@ -152,6 +153,11 @@ rfbDefaultLog(const char *format, ...)
if
(
!
rfbEnableLogging
)
return
;
if
(
!
logMutex_initialized
)
{
INIT_MUTEX
(
logMutex
);
logMutex_initialized
=
1
;
}
LOCK
(
logMutex
);
va_start
(
args
,
format
);
...
...
@@ -654,7 +660,11 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv,
{
rfbScreenInfoPtr
screen
=
calloc
(
sizeof
(
rfbScreenInfo
),
1
);
if
(
!
logMutex_initialized
)
{
INIT_MUTEX
(
logMutex
);
logMutex_initialized
=
1
;
}
if
(
width
&
3
)
rfbErr
(
"WARNING: Width (%d) is not a multiple of 4. VncViewer has problems with that.
\n
"
,
width
);
...
...
prepare_x11vnc_dist.sh
View file @
9b3163c0
#!/bin/bash
VERSION
=
"0.
7.3
"
VERSION
=
"0.
8
"
cd
"
$(
dirname
"
$0
"
)
"
...
...
x11vnc/README
View file @
9b3163c0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
x11vnc/x11vnc.1
View file @
9b3163c0
...
...
@@ -2,7 +2,7 @@
.TH X11VNC "1" "January 2006" "x11vnc " "User Commands"
.SH NAME
x11vnc - allow VNC connections to real X11 displays
version: 0.
7.3, lastmod: 2006-01-10
version: 0.
8, lastmod: 2006-01-11
.SH SYNOPSIS
.B x11vnc
[OPTION]...
...
...
x11vnc/x11vnc_defs.c
View file @
9b3163c0
...
...
@@ -15,7 +15,7 @@ int xtrap_base_event_type = 0;
int
xdamage_base_event_type
=
0
;
/* date +'lastmod: %Y-%m-%d' */
char
lastmod
[]
=
"0.
7.3 lastmod: 2006-01-10
"
;
char
lastmod
[]
=
"0.
8 lastmod: 2006-01-11
"
;
/* X display info */
...
...
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