[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs] fs/asncfs asncfsys.cpp,1.2,1.3
From:       jgordon () helixcommunity ! org
Date:       2010-04-27 1:45:18
Message-ID: 201004270145.o3R1jCMH007609 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/server/fs/asncfs
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv10758

Modified Files:
	asncfsys.cpp 
Log Message:
Updates to server code to build with VC10



Index: asncfsys.cpp
===================================================================
RCS file: /cvsroot/server/fs/asncfs/asncfsys.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- asncfsys.cpp	27 Mar 2006 19:49:28 -0000	1.2
+++ asncfsys.cpp	27 Apr 2010 01:45:16 -0000	1.3
@@ -702,9 +702,11 @@
             ulNumClusters;
 
         char* rootDir = 0;
-        char* slashIndex = strchr((const char*)m_pBasePath->GetBuffer(), '/');
+        const char* slashIndex = strchr((const char*)m_pBasePath->GetBuffer(), '/');
         if (!slashIndex)
+        {
             slashIndex = strchr((const char*)m_pBasePath->GetBuffer(), '\\');
+        }
 
         // if we didn't find a separator char, NULL tells windows
         // to use the current directory


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic