[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-video-cvs
Subject: [Video-cvs] sitelib/platform/unix shmhelp.cpp,1.5,1.6
From: gwright () helixcommunity ! org
Date: 2005-03-18 18:29:04
[Download RAW message or body]
Update of /cvsroot/video/sitelib/platform/unix
In directory cvs-new:/tmp/cvs-serv9483/platform/unix
Modified Files:
shmhelp.cpp
Log Message:
Fixing problem with detecting a local display for shared
mem use.
Index: shmhelp.cpp
===================================================================
RCS file: /cvsroot/video/sitelib/platform/unix/shmhelp.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- shmhelp.cpp 11 Mar 2005 19:58:07 -0000 1.5
+++ shmhelp.cpp 18 Mar 2005 18:29:01 -0000 1.6
@@ -113,8 +113,8 @@
//See if our machine name is in the dipsplay string.
struct utsname inf;
uname(&inf);
- if( (strlen(disp)<=strlen(inf.machine)) ||
- (strncmp(disp, inf.machine, strlen(inf.machine))) )
+ if( (strlen(disp)<=strlen(inf.nodename)) ||
+ (strncmp(disp, inf.machine, strlen(inf.nodename))) )
{
zm_bUseShm = FALSE;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic